We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b70f59 commit 4e1945fCopy full SHA for 4e1945f
Cargo.toml
@@ -12,7 +12,7 @@ version = "0.4.8"
12
arbitrary = "1"
13
14
[build-dependencies]
15
-cc = { version = "1.0", features = ["parallel"] }
+cc = { version = "1.0.83", features = ["parallel"] }
16
17
[features]
18
default = ["link_libfuzzer"]
build.rs
@@ -31,10 +31,10 @@ fn build_and_link_libfuzzer() {
31
println!("cargo:rerun-if-changed={}", source.display());
32
build.file(source.to_str().unwrap());
33
}
34
- build.flag("-std=c++17");
35
- build.flag("-fno-omit-frame-pointer");
36
- build.flag("-w");
37
build.cpp(true);
+ build.std("c++17");
+ build.force_frame_pointer(true);
+ build.warnings(false);
38
build.compile("libfuzzer.a");
39
40
0 commit comments