We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab1f60c commit eb85cedCopy full SHA for eb85ced
miri
@@ -4,7 +4,8 @@ TARGET=$(rustc --print target-spec-json -Z unstable-options | jq '.["llvm-target
4
SYSROOT=$(rustc --print sysroot)
5
# We set the rpath so that Miri finds the private rustc libraries it needs.
6
# We enable debug-assertions to get tracing.
7
-export RUSTFLAGS="-C link-args=-Wl,-rpath,$SYSROOT/lib/rustlib/$TARGET/lib -C debug-assertions"
+# We enable line-only debuginfo for backtraces.
8
+export RUSTFLAGS="-C link-args=-Wl,-rpath,$SYSROOT/lib/rustlib/$TARGET/lib -C debug-assertions -C debuginfo=1"
9
10
COMMAND="$1"
11
shift
0 commit comments