Repository navigation
Open
Labels
metaMeta issue.Meta issue.• toolchainRelated to `rustc`, `bindgen`, `rustdoc`, LLVM, Clippy...Related to `rustc`, `bindgen`, `rustdoc`, LLVM, Clippy...
Description
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
testnot depend onstd.- TODO: try out
#![test_runner]+#![reexport_test_harness_main]as suggested by @bjorn3:stdwanted features & bugfixes #572 (comment). - It would require customizing whatever
testneeds fromstdat the moment. - It would avoid having to build
stdfor tests. - It would allow to run tests in kernel space ("
#[test(kernel)]"). - It would avoid having to wait for Cargo's
-Zbuild-stdfixes & stabilization.
- TODO: try out
Done (stabilized, fixed, not needed anymore, etc.)
-
A way to customize/override the dependency graph in
-Zbuild-stdto use our customallocetc.allocwas 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-stdfor building custom sysroots (and not packages).- We do not use
-Zbuild-stdanymore.
- We do not use
Bugs that we would like to see fixed
Required (we almost certainly want them)
Nice to have (probably not critical, we could workaround if needed, etc.)
Low priority (we will likely not use them in the end)
Done (stabilized, fixed, or not needed anymore, etc.)
Metadata
Metadata
Assignees
Labels
metaMeta issue.Meta issue.• toolchainRelated to `rustc`, `bindgen`, `rustdoc`, LLVM, Clippy...Related to `rustc`, `bindgen`, `rustdoc`, LLVM, Clippy...
Activity
bjorn3 commentedon Nov 27, 2021
For no-std testing there is the unstable
#![test_runner]+#![reexport_test_harness_main]. This was implemented in rust-lang/rust#53410. See https://os.phil-opp.com/testing/ for an example. To copy the example there:I believe I have already linked it before by the way.
ojeda commentedon Nov 27, 2021
Thanks! I think you did, yeah. Linked in the list to avoid missing it again :)
I was filling this one to keep track of some of the bits from the meeting the other day that were not yet in the list.