-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.toml
21 lines (18 loc) · 869 Bytes
/
config.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[target.riscv32imc-unknown-none-elf]
runner = "espflash flash --monitor"
[build]
rustflags = [
"-C", "link-arg=-Tlinkall.x",
# Required to obtain backtraces (e.g. when using the "esp-backtrace" crate.)
# NOTE: May negatively impact performance of produced code
"-C", "force-frame-pointers",
# Work around https://github.com/NixOS/nixpkgs/issues/281527 by forcing LLD as the linker:
# > = note: x86_64-unknown-linux-gnu-gcc: error: unrecognized command-line option '-flavor'
# > x86_64-unknown-linux-gnu-gcc: error: unrecognized command-line option '--as-needed'; did you mean '-mno-needed'?
# > x86_64-unknown-linux-gnu-gcc: error: unrecognized command-line option '--gc-sections'; did you mean '--data-sections'?
# >
"-C", "linker=rust-lld",
]
target = "riscv32imc-unknown-none-elf"
[unstable]
build-std = ["core"]