Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

Commit de51755

Browse files
committed
Don't set opt_level in the musl build script
`cc` automatically reads this from Cargo's `OPT_LEVEL` variable so we don't need to set it explicitly. Remove this so running in a debugger makes more sense.
1 parent e4cfb0d commit de51755

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

crates/musl-math-sys/build.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,6 @@ fn build_musl_math(cfg: &Config) {
151151
.flag_if_supported("-ffreestanding")
152152
.flag_if_supported("-nostdinc")
153153
.define("_ALL_SOURCE", "1")
154-
.opt_level(3)
155154
.define(
156155
"ROOT_INCLUDE_FEATURES",
157156
Some(musl_dir.join("include/features.h").to_str().unwrap()),

0 commit comments

Comments
 (0)