Skip to content

Commit 6ad9ee9

Browse files
fixup! feat: make codspeed target path different depending on measurement mode
1 parent e3e6c2d commit 6ad9ee9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/cargo-codspeed/src/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ impl BuildOptions<'_> {
115115
rust_flags.push_str(" -C debuginfo=2");
116116

117117
// Add the codspeed cfg flag if instrumentation mode is enabled
118-
if *measurement_mode == MeasurementMode::Instrumentation {
118+
if measurement_mode == MeasurementMode::Instrumentation {
119119
rust_flags.push_str(" --cfg codspeed");
120120
}
121121
cargo.env("RUSTFLAGS", rust_flags);

0 commit comments

Comments
 (0)