rust-osdev / bootloader

An experimental pure-Rust x86 bootloader
Apache License 2.0
1.36k stars 206 forks source link

build-std with bindeps #356

Open kimtahen opened 1 year ago

kimtahen commented 1 year ago

0.11.x version of bootloader crate uses artifacts, but when I tried to build a kernel with build-std, it panics. It seems like the same issue with https://github.com/rust-lang/cargo/issues/10444#issue-1155976634. Is this issue resovled? Or, is there any other ways to handle this?

phil-opp commented 10 months ago

I guess you could work around this cargo issue by running a manual cargo build -Zbuild-std command for your kernel from your top-level build script (instead of using an artifact dependency for your kernel).