forked from koniifer/ableos
15 lines
415 B
TOML
15 lines
415 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"]
|
|
|
|
[target.riscv64gc-unknown-none-elf]
|
|
rustflags = "-C link-arg=-Tableos/src/arch/riscv/virt.lds"
|
|
# ableos/src/arch/riscv/virt.lds
|