
* Make bolts work without alloc * Use core::Error where available * unstable_feature -> nightly * windows no_alloc
15 lines
353 B
Rust
15 lines
353 B
Rust
#[rustversion::nightly]
|
|
fn main() {
|
|
println!("cargo:rerun-if-changed=build.rs");
|
|
println!("cargo:rustc-cfg=nightly");
|
|
}
|
|
|
|
#[rustversion::not(nightly)]
|
|
fn main() {
|
|
println!("cargo:rerun-if-changed=build.rs");
|
|
assert!(
|
|
cfg!(not(feature = "nautilus")),
|
|
"The 'nautilus' feature of libafl requires a nightly compiler"
|
|
);
|
|
}
|