From 798b9014266bf0643f31407be73e9a454d4e7843 Mon Sep 17 00:00:00 2001 From: Ron Hough Date: Thu, 2 Jan 2025 12:33:15 -0600 Subject: [PATCH 1/2] [skip-ci] build: Compile readyset with frame pointers by default We don't get full stack traces for readyset. This update will adjust our build to add the rustflag "-C force-frame-pointers=yes" by default. Fixes: REA-5129 Change-Id: I573b2fee6d375a5236407ee30a2c400930fee367 --- .cargo/config.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.cargo/config.toml b/.cargo/config.toml index 61a4851c3c..1d3f18d8bb 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -2,7 +2,7 @@ lint = "clippy --all-targets" [build] -rustflags = ["-C", "link-args=-llz4"] +rustflags = ["-C", "link-args=-llz4", "-C", "force-frame-pointers=yes"] [target.'cfg(feature = "cargo-clippy")'] rustflags = [ From f155a57c0a2188af0a825e73e554951ff2b22997 Mon Sep 17 00:00:00 2001 From: Ron Hough Date: Thu, 2 Jan 2025 12:43:17 -0600 Subject: [PATCH 2/2] wip: Test addition of force-frame-pointers=yes rustflag DO NOT MERGE! Change-Id: Ic3b8be9b115d14785a6e7833d32cf3a8589fcb14 --- .cargo/config.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.cargo/config.toml b/.cargo/config.toml index 1d3f18d8bb..f20dd2bd9c 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,3 +1,6 @@ +[term] +verbose = true + [alias] lint = "clippy --all-targets"