Created
September 8, 2021 16:49
-
-
Save sajattack/701a8d677ec01fe51b423ebbfa013c22 to your computer and use it in GitHub Desktop.
cargo config for riscv32gc std
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[unstable] | |
build-std = ["std", "panic_abort"] | |
build-std-features = ["panic_immediate_abort"] | |
[build] | |
target= "riscv32gc-unknown-linux-gnu" | |
rustflags = [ | |
"-C", "link-arg=-march=rv32gc", | |
"-C", "link-arg=-mabi=ilp32d", | |
"-C", "linker-flavor=gcc" | |
] | |
[target.riscv32gc-unknown-linux-gnu] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment