forked from AbleOS/ableos
16 lines
443 B
TOML
16 lines
443 B
TOML
[build]
|
|
# target = "riscv64gc-unknown-none-elf"
|
|
target = "json_targets/x86_64-ableos.json"
|
|
|
|
[unstable]
|
|
build-std = ["core", "compiler_builtins", "alloc"]
|
|
build-std-features = ["compiler-builtins-mem"]
|
|
|
|
[target.'cfg(target_arch = "x86_64")']
|
|
rustflags = ["-C", "target-feature=+rdrand"]
|
|
runner = "bootimage runner"
|
|
|
|
[target.riscv64gc-unknown-none-elf]
|
|
rustflags = "-C link-arg=-Tableos/src/arch/riscv/virt.lds"
|
|
# ableos/src/arch/riscv/virt.lds
|