1
0
mirror of https://github.com/rcore-os/rCore.git synced 2024-11-23 00:16:17 +04:00
rCore/kernel/targets/x86_64.json
gjz010 7b8252eb1b Basic loadable kernel module support, with a module template written in Rust.
Under aarch64 and x86_64, hello_rust can be built and loaded by `/busybox insmod hello_rust.ko`.
2019-06-07 20:59:51 +08:00

24 lines
571 B
JSON

{
"llvm-target": "x86_64-unknown-none",
"data-layout": "e-m:e-i64:64-f80:128-n8:16:32:64-S128",
"linker-flavor": "ld.lld",
"target-endian": "little",
"target-pointer-width": "64",
"target-c-int-width": "32",
"arch": "x86_64",
"os": "none",
"executables": true,
"dynamic-linking": true,
"linker": "rust-lld",
"pre-link-args": {
"ld.lld": [
"-Tsrc/arch/x86_64/linker.ld",
"-export-dynamic"
]
},
"disable-redzone": true,
"features": "-mmx,-sse,+soft-float",
"panic-strategy": "abort",
"eliminate-frame-pointer": false
}