redox/.cargo/config.toml
Andrey Turkin 1f9701e26c Override RISC-V CFLAGS in cargo.toml
Makes RISC-V builds work without cc-rs patch, as apparently
CFLAGS take precedence over cc-rs' heuristics
2024-10-31 10:26:26 +03:00

19 lines
395 B
TOML

[target.aarch64-unknown-redox]
linker = "aarch64-unknown-redox-gcc"
rustflags = []
[target.i686-unknown-redox]
linker = "i686-unknown-redox-gcc"
rustflags = []
[target.x86_64-unknown-redox]
linker = "x86_64-unknown-redox-gcc"
rustflags = []
[target.riscv64gc-unknown-redox]
linker = "riscv64-unknown-redox-gcc"
rustflags = []
[env]
CFLAGS_riscv64gc_unknown_redox="-march=rv64gc -mabi=lp64d"