-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Closed
Copy link
Labels
-Zbuild-stdUnstable Cargo option: Compile the standard library yourself.Unstable Cargo option: Compile the standard library yourself.regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.Performance or correctness regression from stable to nightly.requires-nightlyThis issue requires a nightly compiler in some way.This issue requires a nightly compiler in some way.
Description
When I attempt to build (seemingly anything) with -Zbuild-std=core
on nightly I get an error with package test
not having the feature backtrace
.
This seems to affect a random sampling of targets I picked, it seems more fundamental than that:
pleb@gamey ~/regression $ cat src/main.rs
#![no_std]
#![no_main]
#[panic_handler]
fn panic(pi: &core::panic::PanicInfo) -> ! {
loop {}
}
#[no_mangle]
extern fn efi_main() {
}
pleb@gamey ~/regression $ cat Cargo.toml
[package]
name = "regression"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
pleb@gamey ~/regression $ cargo build --target powerpc-unknown-freebsd -Zbuild-std=core
error: Package `test v0.0.0 (/home/pleb/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/test)` does not have the feature `backtrace`
pleb@gamey ~/regression $ cargo build --target x86_64-unknown-none -Zbuild-std=core
error: Package `test v0.0.0 (/home/pleb/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/test)` does not have the feature `backtrace`
pleb@gamey ~/regression $ cargo build --target x86_64-unknown-uefi -Zbuild-std=core
error: Package `test v0.0.0 (/home/pleb/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/test)` does not have the feature `backtrace`
MikeBooon, taxborn, prestonsn, Daltonhensley19, decafff and 4 moremy-password-is-password, decafff, lovetay and dannycjonesprestonsn and decafffdecafffdecafffjulienc, nico-abram, lovetay, amillh, taxborn and 3 more
Metadata
Metadata
Assignees
Labels
-Zbuild-stdUnstable Cargo option: Compile the standard library yourself.Unstable Cargo option: Compile the standard library yourself.regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.Performance or correctness regression from stable to nightly.requires-nightlyThis issue requires a nightly compiler in some way.This issue requires a nightly compiler in some way.