
* fixup: don't download unicode categories data * whoops, document * fmt * ci --------- Co-authored-by: toka <tokazerkje@outlook.com>
21 lines
548 B
Rust
21 lines
548 B
Rust
use std::error::Error;
|
|
|
|
#[rustversion::nightly]
|
|
#[allow(clippy::unnecessary_wraps)]
|
|
fn main() -> Result<(), Box<dyn Error>> {
|
|
println!("cargo:rerun-if-changed=build.rs");
|
|
println!("cargo:rustc-cfg=nightly");
|
|
Ok(())
|
|
}
|
|
|
|
#[rustversion::not(nightly)]
|
|
#[allow(clippy::unnecessary_wraps)]
|
|
fn main() -> Result<(), Box<dyn Error>> {
|
|
println!("cargo:rerun-if-changed=build.rs");
|
|
assert!(
|
|
cfg!(all(not(docrs), not(feature = "nautilus"))),
|
|
"The 'nautilus' feature of libafl requires a nightly compiler"
|
|
);
|
|
Ok(())
|
|
}
|