about summary refs log tree commit diff
path: root/library/std/src/env.rs
diff options
context:
space:
mode:
authorThalia Archibald <thalia@archibald.dev>2025-04-15 05:48:27 -0700
committerThalia Archibald <thalia@archibald.dev>2025-04-18 19:17:08 -0700
commit37712cc01604633fec6aac9bc720210207fa4b54 (patch)
treebe8e136329bedac6f89a1627ab80557b78096d63 /library/std/src/env.rs
parente0d9244472b50631f07af8a425c1dbed65161d25 (diff)
downloadrust-37712cc01604633fec6aac9bc720210207fa4b54.tar.gz
rust-37712cc01604633fec6aac9bc720210207fa4b54.zip
Combine env consts into std::sys::env_consts
Diffstat (limited to 'library/std/src/env.rs')
-rw-r--r--library/std/src/env.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/env.rs b/library/std/src/env.rs
index 05bd4345ea8..c84a72c4fad 100644
--- a/library/std/src/env.rs
+++ b/library/std/src/env.rs
@@ -950,7 +950,7 @@ impl fmt::Debug for ArgsOs {
 /// Constants associated with the current target
 #[stable(feature = "env", since = "1.0.0")]
 pub mod consts {
-    use crate::sys::env::os;
+    use crate::sys::env_consts::os;
 
     /// A string describing the architecture of the CPU that is currently in use.
     /// An example value may be: `"x86"`, `"arm"` or `"riscv64"`.