FRET-LibAFL/libafl/build.rs
Dominik Maier 75f12bd0eb
Remodelling Observers/Examples that rely on UB, API cleanups (#950)
* Tackling UB

* PtrMut -> MutPtr, moved mapobservers to non-UB

* QEMU fixes

* test fixes

* qemu

* Change all interfaces, fix all fuzzers

* fixes

* fix more fixes

* fmt

* fix qemu sugar

* fix some qemus

* atheris

* fmt

* more fmt

* most fmt

* more fix

* nyx fyx

* fix qemu

* clippy, fixes

* more fixes

* no unfix, only fix

* fix

* fix

* more clippy

* fixes

* ListObserver

* fmt, clippy

* fix qemu on arm

* update zlib target

* fix?

* fix

* added migration guide

* ignore doc

* fix symcc

* fix new win fuzzer

* Fixes, rename PTR_SIZE to PTR_NUM

* Try fix linking on win

* Trying to fix win linking

* more cov

* trying to fix win some more

* trying to fix mac

* trying to fix mac

* Fix tests

* Fix tests

* trying to fix win

* more mac

* giving up for windows

* fmt

* python3

* mac?

* undo windows tests
2022-12-24 14:20:44 +01:00

15 lines
362 B
Rust

#[rustversion::nightly]
fn main() {
println!("cargo:rerun-if-changed=build.rs");
println!("cargo:rustc-cfg=unstable_feature");
}
#[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"
);
}