Clean way to patch the std

This commit is contained in:
2026-03-18 17:19:08 +01:00
parent 51780b3a78
commit a087bdd523
35 changed files with 6302 additions and 1430 deletions

8
crates/std/build.rs Normal file
View File

@@ -0,0 +1,8 @@
use std::env;
pub fn main() {
println!(
"cargo:rustc-env=STD_ENV_ARCH={}",
env::var("CARGO_CFG_TARGET_ARCH").unwrap()
);
}