Panic when using nautilus with stable Rust
This commit is contained in:
parent
d7dbd021a4
commit
180883acb7
@ -75,6 +75,7 @@ wait-timeout = { version = "0.2", optional = true } # used by CommandExecutor to
|
||||
z3 = { version = "0.11", features = ["static-link-z3"], optional = true } # for concolic mutation
|
||||
|
||||
# AGPL
|
||||
# !!! this create requires nightly
|
||||
grammartec = { version = "0.1", optional = true }
|
||||
|
||||
[target.'cfg(unix)'.dependencies]
|
||||
|
@ -1,7 +1,13 @@
|
||||
#[rustversion::nightly]
|
||||
fn main() {
|
||||
println!("cargo:rerun-if-changed=build.rs");
|
||||
println!("cargo:rustc-cfg=unstable_feature");
|
||||
}
|
||||
|
||||
#[rustversion::not(nightly)]
|
||||
fn main() {}
|
||||
fn main() {
|
||||
println!("cargo:rerun-if-changed=build.rs");
|
||||
if cfg!(feature = "nautilus") {
|
||||
panic!("The 'nautilus' feature of libafl requires a nightly compiler");
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user