std
wanted features & bugfixes · Issue #572 · Rust-for-Linux/linux (original) (raw)
Note: there is the "A-rust-for-linux" label in the rust
repository: https://github.com/rust-lang/rust/labels/A-rust-for-linux.
Features that we would like to see
Required (we almost certainly want them)
Nice to have (not critical, we could workaround if needed, etc.)
Low priority (we will likely not use them in the end)
- Make
test
not depend onstd
.- TODO: try out
#![test_runner]
+#![reexport_test_harness_main]
as suggested by @bjorn3: std wanted features & bugfixes #572 (comment). - It would require customizing whatever
test
needs fromstd
at the moment. - It would avoid having to build
std
for tests. - It would allow to run tests in kernel space ("
#[test(kernel)]
"). - It would avoid having to wait for Cargo's
-Zbuild-std
fixes & stabilization.
- TODO: try out
Done (stabilized, fixed, not needed anymore, etc.)
- A way to customize/override the dependency graph in
-Zbuild-std
to use our customalloc
etc.alloc
was dropped, so we do not need it anymore.- Related issue: Custom source standard library rust-lang/wg-cargo-std-aware#7.
- Related issue: Can we tailor the version of the compiler-builtins package that is compiled and linked together with the core crate? rust-lang/wg-cargo-std-aware#61.
- A way to use
-Zbuild-std
for building custom sysroots (and not packages).- We do not use
-Zbuild-std
anymore.
- We do not use