From a0ece1696fbf4282291fb40bcaa9d7320827ce35 Mon Sep 17 00:00:00 2001 From: Victoria Fischer Date: Tue, 27 Jan 2026 16:55:37 +0100 Subject: [PATCH] cargo: config: turn off frame pointers, but turn on stack protection --- .cargo/config.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.cargo/config.toml b/.cargo/config.toml index 7445a62..17c9443 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -11,7 +11,7 @@ ESP_RTOS_CONFIG_TICK_RATE_HZ="50" [build] rustflags = [ "-C", "link-arg=-nostartfiles", - "-C", "force-frame-pointers" + "-Z", "stack-protector=all", ] target = "xtensa-esp32s3-none-elf"