diff --git a/Makefile b/Makefile index f0ca453..a0bf588 100644 --- a/Makefile +++ b/Makefile @@ -41,7 +41,6 @@ $(BUILD)/efi.img: $(BUILD)/boot.efi $(BUILD)/boot.efi: Cargo.lock Cargo.toml src/* mkdir -p $(BUILD) cargo rustc \ - -Z build-std=core,alloc \ --target $(TARGET) \ --release \ -- \ diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 46893dd..289d2e1 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,3 +1,4 @@ [toolchain] channel = "nightly-2024-05-11" -components = ["rust-src"] +targets = ["x86_64-unknown-uefi"] +profile = "minimal"