about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2021-09-15 17:12:46 +0200
committerLuca Barbato <lu_zero@gentoo.org>2021-09-25 20:30:25 +0200
commit160b93903c15ee46e09e04a156563ded1b152116 (patch)
treefa70d04032f707aa1e905bdc7ccf1e2ccc063c71
parente846f9c44f1e17cac66d7b75e2ca099c87a2dfcb (diff)
downloadrust-160b93903c15ee46e09e04a156563ded1b152116.tar.gz
rust-160b93903c15ee46e09e04a156563ded1b152116.zip
Expose the std_detect env_override feature
-rw-r--r--library/std/Cargo.toml1
-rw-r--r--library/test/Cargo.toml1
2 files changed, 2 insertions, 0 deletions
diff --git a/library/std/Cargo.toml b/library/std/Cargo.toml
index 1b051b0d0f6..2b77dc54ab3 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 80d6072e9b5..04dab6b804a 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"]