Adding upstream version 3.1.1.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
897eb1bb2a
commit
1a4d9cedd3
3 changed files with 15 additions and 2 deletions
|
@ -142,10 +142,15 @@ def install_environment(
|
|||
else:
|
||||
packages_to_install.add((package,))
|
||||
|
||||
with in_env(prefix, version):
|
||||
with contextlib.ExitStack() as ctx:
|
||||
ctx.enter_context(in_env(prefix, version))
|
||||
|
||||
if version != 'system':
|
||||
install_rust_with_toolchain(_rust_toolchain(version))
|
||||
|
||||
tmpdir = ctx.enter_context(tempfile.TemporaryDirectory())
|
||||
ctx.enter_context(envcontext((('RUSTUP_HOME', tmpdir),)))
|
||||
|
||||
if len(lib_deps) > 0:
|
||||
_add_dependencies(prefix, lib_deps)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue