Skip to content

Commit

Permalink
fix c++11 detection on older gcc
Browse files Browse the repository at this point in the history
  • Loading branch information
skrap authored and Jonah Petri committed Oct 17, 2024
1 parent 37d4d9d commit 3221d3c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ mod cxx11 {
PathBuf::from(env::var("OUT_DIR").unwrap()).join("has_cxx11");

cc::Build::new()
.cpp(true)
.warnings(true)
.warnings_into_errors(true)
.std("c++11")
Expand Down

0 comments on commit 3221d3c

Please sign in to comment.