For our kernel targets, we should not set OS, as the kernel runs bare metal without a circular dependency on std. This also prepares us for unifying with https://github.com/rust-lang/rust/pull/89062. This patch requires libhermit-rs to change a `cfg`s from `target_os = "hermit"` to `target_os = "none"`. I tested this patch locally. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||
| README.md | ||
rustc_target contains some very low-level details that are
specific to different compilation targets and so forth.
For more information about how rustc works, see the rustc dev guide.