Skip to content

Commit

Permalink
feat: add debug symbols in the benchmark build config
Browse files Browse the repository at this point in the history
  • Loading branch information
art049 committed Apr 27, 2023
1 parent b1e1512 commit 9c6a5a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/cargo-codspeed/src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ enum Commands {

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

0 comments on commit 9c6a5a8

Please sign in to comment.