Skip to content

Commit

Permalink
Fix compiler flag in sys/build.rs and typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mmoskal committed Jan 11, 2024
1 parent f8d77d6 commit f2cad8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ fn main() {
let mut builder = cc::Build::new();
builder
.extra_warnings(false)
.flag("-Wno-implicit-const-int-float-conversion")
.flag_if_supported("-Wno-implicit-const-int-float-conversion")
//.flag("-Wno-array-bounds")
//.flag("-Wno-format-truncation")
;
Expand Down Expand Up @@ -285,7 +285,7 @@ where
.unwrap_or(false)
{
println!(
"cargo:warning=rquickjs x probably doesn't ship bindings for platform `{}`. try the `bindgen` feature instead.",
"cargo:warning=rquickjs probably doesn't ship bindings for platform `{}`. try the `bindgen` feature instead.",
target
);
}
Expand Down

0 comments on commit f2cad8e

Please sign in to comment.