mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-11-05 04:06:38 +08:00
Remove the -Csoft-float argument when building the kernel
The targets specify the soft-float ABI already and -Csoft-float should likely have never existed in the first place. It is unsound to mix crates compiled with different float ABI's and the only stable way to get all crates to agree on the soft float ABI is by specifying a target which uses the soft float ABI anyway even without explicit -Csoft-float. See also https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/.60-Csoft-float.60.20considered.20harmful
This commit is contained in:
parent
39fa9acd64
commit
5fe26754f1
@ -13,7 +13,6 @@ cargo rustc \
|
||||
--release \
|
||||
-Z build-std=core,alloc \
|
||||
-- \
|
||||
-C soft-float \
|
||||
-C link-arg=-T -Clink-arg="${COOKBOOK_SOURCE}/linkers/${ARCH}.ld" \
|
||||
-C link-arg=-z -Clink-arg=max-page-size=0x1000 \
|
||||
--emit link="${PWD}/kernel.all"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user