Skip to content

Commit fcdd1d8

Browse files
committed
change rustc-abi in custom targets to x86-softfloat
With the latest nightly, setting "+soft-float" in "features" is only allowed if "rustc-abi" is set to "x86-softfloat".
1 parent 08602a8 commit fcdd1d8

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

example-kernel/x86_64-example-kernel.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@
1111
"linker": "rust-lld",
1212
"panic-strategy": "abort",
1313
"disable-redzone": true,
14-
"features": "-mmx,-sse,+soft-float"
14+
"features": "-mmx,-sse,+soft-float",
15+
"rustc-abi": "x86-softfloat"
1516
}

test-kernel/x86_64-test-kernel.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@
1111
"linker": "rust-lld",
1212
"panic-strategy": "abort",
1313
"disable-redzone": true,
14-
"features": "-mmx,-sse,+soft-float"
14+
"features": "-mmx,-sse,+soft-float",
15+
"rustc-abi": "x86-softfloat"
1516
}

x86_64-bootloader.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,6 @@
1818
"disable-redzone": true,
1919
"panic-strategy": "abort",
2020
"executables": true,
21-
"relocation-model": "static"
21+
"relocation-model": "static",
22+
"rustc-abi": "x86-softfloat"
2223
}

0 commit comments

Comments
 (0)