Disable -C force-frame-pointers, as it is only applicable to riscv
This commit is contained in:
parent
16ed51b19e
commit
7fca722f24
|
|
@ -5,9 +5,15 @@ runner = "espflash flash --monitor"
|
||||||
[build]
|
[build]
|
||||||
target = "xtensa-esp32s3-none-elf"
|
target = "xtensa-esp32s3-none-elf"
|
||||||
rustflags = [
|
rustflags = [
|
||||||
# Required to obtain backtraces (e.g. when using the "esp-backtrace" crate.)
|
# Exploit mitigations.
|
||||||
# NOTE: May negatively impact performance of produced code
|
"-Zstack-protector=all",
|
||||||
"-C", "force-frame-pointers",
|
|
||||||
|
# Other unsupported exploit mitigations from:
|
||||||
|
# https://doc.rust-lang.org/beta/rustc/exploit-mitigations.html#exploit-mitigations-1
|
||||||
|
# "-Zsanitizer=cfi,shadow-call-stack,safestack"
|
||||||
|
|
||||||
|
# Required to obtain backtraces on riscv (e.g. when using the "esp-backtrace" crate.)
|
||||||
|
# "-C", "force-frame-pointers",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue