mirror of
https://github.com/rcore-os/rCore.git
synced 2024-11-22 08:06:17 +04:00
7b8252eb1b
Under aarch64 and x86_64, hello_rust can be built and loaded by `/busybox insmod hello_rust.ko`.
24 lines
571 B
JSON
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
|
|
}
|