Skip to content

Commit 9c6a5a8

Browse files
committed
feat: add debug symbols in the benchmark build config
1 parent b1e1512 commit 9c6a5a8

File tree

1 file changed

+1
-1
lines changed
  • crates/cargo-codspeed/src

1 file changed

+1
-1
lines changed

crates/cargo-codspeed/src/app.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ enum Commands {
4141

4242
pub fn get_cargo_config() -> Result<Config> {
4343
let mut rustflags = std::env::var("RUSTFLAGS").unwrap_or_else(|_| "".into());
44-
rustflags.push_str(" --cfg codspeed");
44+
rustflags.push_str(" -g --cfg codspeed");
4545
std::env::set_var("RUSTFLAGS", &rustflags);
4646
Config::default()
4747
}

0 commit comments

Comments
 (0)