Skip to content

Commit 6be4a1a

Browse files
committed
fix: only support x86_64
1 parent 4206a5b commit 6be4a1a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

crates/codspeed/build.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ fn main() {
88
return;
99
}
1010

11+
if cfg!(not(target_arch = "x86_64")) {
12+
// The instrument-hooks library is only supported on x86_64.
13+
return;
14+
}
15+
1116
let mut build = cc::Build::new();
1217
build
1318
.flag("-std=c11")

0 commit comments

Comments
 (0)