Skip to content

Commit

Permalink
change rustc-abi in custom targets to x86-softfloat
Browse files Browse the repository at this point in the history
With the latest nightly, setting "+soft-float" in "features" is only
allowed if "rustc-abi" is set to "x86-softfloat".
  • Loading branch information
Freax13 committed Feb 4, 2025
1 parent 08602a8 commit fcdd1d8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion example-kernel/x86_64-example-kernel.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@
"linker": "rust-lld",
"panic-strategy": "abort",
"disable-redzone": true,
"features": "-mmx,-sse,+soft-float"
"features": "-mmx,-sse,+soft-float",
"rustc-abi": "x86-softfloat"
}
3 changes: 2 additions & 1 deletion test-kernel/x86_64-test-kernel.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@
"linker": "rust-lld",
"panic-strategy": "abort",
"disable-redzone": true,
"features": "-mmx,-sse,+soft-float"
"features": "-mmx,-sse,+soft-float",
"rustc-abi": "x86-softfloat"
}
3 changes: 2 additions & 1 deletion x86_64-bootloader.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@
"disable-redzone": true,
"panic-strategy": "abort",
"executables": true,
"relocation-model": "static"
"relocation-model": "static",
"rustc-abi": "x86-softfloat"
}

0 comments on commit fcdd1d8

Please sign in to comment.