Skip to content

Commit

Permalink
deploy: 340e672
Browse files Browse the repository at this point in the history
  • Loading branch information
adetaylor committed Jan 8, 2025
1 parent a96b62c commit 7abe0be
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion building.html
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,8 @@ <h2 id="building-if-youre-using-cargo"><a class="header" href="#building-if-your
let path = std::path::PathBuf::from("src"); // include path
let mut b = autocxx_build::Builder::new("src/main.rs", &amp;[&amp;path])
.extra_clang_args(&amp;["-std=c++17"])
.expect_build();
.build()
.unwrap();
b.flag_if_supported("-std=c++17") // use "-std:c++17" here if using msvc on windows
.compile("autocxx-demo"); // arbitrary library name, pick anything
println!("cargo:rerun-if-changed=src/main.rs");
Expand Down
3 changes: 2 additions & 1 deletion print.html
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,8 @@ <h2 id="building-if-youre-using-cargo"><a class="header" href="#building-if-your
let path = std::path::PathBuf::from("src"); // include path
let mut b = autocxx_build::Builder::new("src/main.rs", &amp;[&amp;path])
.extra_clang_args(&amp;["-std=c++17"])
.expect_build();
.build()
.unwrap();
b.flag_if_supported("-std=c++17") // use "-std:c++17" here if using msvc on windows
.compile("autocxx-demo"); // arbitrary library name, pick anything
println!("cargo:rerun-if-changed=src/main.rs");
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion searchindex.json

Large diffs are not rendered by default.

0 comments on commit 7abe0be

Please sign in to comment.