]> git.lizzy.rs Git - loadnothing.git/commitdiff
Revert "cargo build without explicit target"
authorHimbeerserverDE <himbeerserverde@gmail.com>
Sun, 11 Sep 2022 17:38:18 +0000 (19:38 +0200)
committerHimbeerserverDE <himbeerserverde@gmail.com>
Sun, 11 Sep 2022 17:38:18 +0000 (19:38 +0200)
This reverts commit 7c36d5406cf726596a56e77f4c95a4469ffbe267.

Makefile

index 4d3e41f65d52ae653e58748e25f2fbada4864e87..65f4596eaec4360589934840c9e97860d4bc2f2b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,7 @@ magic.bin:
        echo -en "\x55\xAA" > magic.bin
 
 stage2/target/x86_64-unknown-none/debug/stage2:
-       cd stage2 && cargo build
+       cd stage2 && cargo build --target x86_64-unknown-none
 
 nothing.img: magic.bin stage1/boot.bin stage2/target/x86_64-unknown-none/debug/stage2
        dd if=/dev/zero of=nothing.img bs=2M count=1