From 160b93903c15ee46e09e04a156563ded1b152116 Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Wed, 15 Sep 2021 17:12:46 +0200 Subject: [PATCH] Expose the std_detect env_override feature --- library/std/Cargo.toml | 1 + library/test/Cargo.toml | 1 + 2 files changed, 2 insertions(+) diff --git a/library/std/Cargo.toml b/library/std/Cargo.toml index 1b051b0d0f6e5..2b77dc54ab35c 100644 --- a/library/std/Cargo.toml +++ b/library/std/Cargo.toml @@ -72,6 +72,7 @@ panic_immediate_abort = ["core/panic_immediate_abort"] # https://github.com/rust-lang/stdarch/blob/master/crates/std_detect/Cargo.toml std_detect_file_io = ["std_detect/std_detect_file_io"] std_detect_dlsym_getauxval = ["std_detect/std_detect_dlsym_getauxval"] +std_detect_env_override = ["std_detect/std_detect_env_override"] [package.metadata.fortanix-sgx] # Maximum possible number of threads when testing diff --git a/library/test/Cargo.toml b/library/test/Cargo.toml index 80d6072e9b5c2..04dab6b804acc 100644 --- a/library/test/Cargo.toml +++ b/library/test/Cargo.toml @@ -33,3 +33,4 @@ panic_immediate_abort = ["std/panic_immediate_abort"] profiler = ["std/profiler"] std_detect_file_io = ["std/std_detect_file_io"] std_detect_dlsym_getauxval = ["std/std_detect_dlsym_getauxval"] +std_detect_env_override = ["std/std_detect_env_override"]