Skip to content

armgit / moli

Public Imported from GitHub
0

Best headless browser for AI agents. Lite, Fast, High-Compatibility. Built in Rust

fix: compile V8 extensions as C++20 on MSVC

ldm02678009f9f61
diff --git a/vendor/v8-146.9.0/build.rs b/vendor/v8-146.9.0/build.rs
index fc92eb73f..e49f2c1d5 100644
--- a/vendor/v8-146.9.0/build.rs
+++ b/vendor/v8-146.9.0/build.rs
@@ -506,7 +506,7 @@ fn build_moli_v8_ext(sources: &[PathBuf]) {
.warnings(false)
.include(".")
.include("v8/include")
- .flag_if_supported("-std=c++20")
+ .std("c++20")
.flag_if_supported("-w");
for source in sources {
build.file(source);