Skip to content

Commit

Permalink
Don't set opt_level in the musl build script
Browse files Browse the repository at this point in the history
`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.
  • Loading branch information
tgross35 committed Jan 16, 2025
1 parent 50f03e2 commit 479a1fa
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion crates/musl-math-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@ fn build_musl_math(cfg: &Config) {
.flag_if_supported("-ffreestanding")
.flag_if_supported("-nostdinc")
.define("_ALL_SOURCE", "1")
.opt_level(3)
.define(
"ROOT_INCLUDE_FEATURES",
Some(musl_dir.join("include/features.h").to_str().unwrap()),
Expand Down

0 comments on commit 479a1fa

Please sign in to comment.