Skip to content

Commit 3f94c58

Browse files
committed
fix(go-runner): disable stripping of symbols and debug information
1 parent 8b0c65c commit 3f94c58

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

go-runner/src/runner/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ fn run_cmd<P: AsRef<Path>>(
2323
let mut cmd = Command::new(go_binary);
2424
cmd.args([
2525
"test",
26+
// Disable stripping of symbols and debug information
27+
"-ldflags=-s=false -w=false",
2628
// Keep the test binary on disk after executing it. This is required by
2729
// the runner to properly parse the symbols and debug info.
2830
"-work",

0 commit comments

Comments
 (0)