
* Copy choose method for unbounded iterators * Add choose method for unbounded iterators * Copy&paste in nautilus grammartec * cargo * fmt * Initial Nautilus in LibAFL * missing link * clippy * clippy * more clippy * docs * docs * more docs * remove nautilus default * fix doctest * fmt * less vec * test * less flakey * clippy * clippy
16 lines
288 B
Rust
16 lines
288 B
Rust
#![forbid(unexpected_cfgs)]
|
|
|
|
#[rustversion::nightly]
|
|
fn nightly() {
|
|
println!("cargo:rustc-cfg=nightly");
|
|
}
|
|
|
|
#[rustversion::not(nightly)]
|
|
fn nightly() {}
|
|
|
|
fn main() {
|
|
println!("cargo:rustc-check-cfg=cfg(nightly)");
|
|
println!("cargo:rerun-if-changed=build.rs");
|
|
nightly();
|
|
}
|