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.
cargo:error
1 parent acecf46 commit d4f4734Copy full SHA for d4f4734
libafl_libfuzzer/build.rs
@@ -4,12 +4,11 @@ fn main() {
4
if cfg!(any(feature = "cargo-clippy", docsrs)) {
5
return; // skip when clippy or docs is running
6
}
7
- if cfg!(not(target_os = "linux")) {
8
- println!(
9
- "cargo:error=The libafl_libfuzzer runtime may only be built for linux; failing fast."
10
- );
11
- return;
12
- }
+ assert!(
+ cfg!(target_os = "linux"),
+ "The libafl_libfuzzer runtime may only be built for linux; failing fast."
+ );
+
13
println!("cargo:rerun-if-changed=libafl_libfuzzer_runtime/src");
14
println!("cargo:rerun-if-changed=libafl_libfuzzer_runtime/Cargo.toml");
15
println!("cargo:rerun-if-changed=libafl_libfuzzer_runtime/build.rs");
0 commit comments