Address recent clippy changes; build clippy in debug instead of release for perf (#1516)
This commit is contained in:
parent
27333f9ce8
commit
8f6efe993d
@ -61,7 +61,6 @@ Welcome to `LibAFL`
|
|||||||
overflowing_literals,
|
overflowing_literals,
|
||||||
path_statements,
|
path_statements,
|
||||||
patterns_in_fns_without_body,
|
patterns_in_fns_without_body,
|
||||||
private_in_public,
|
|
||||||
unconditional_recursion,
|
unconditional_recursion,
|
||||||
unused,
|
unused,
|
||||||
unused_allocation,
|
unused_allocation,
|
||||||
|
@ -62,7 +62,6 @@
|
|||||||
overflowing_literals,
|
overflowing_literals,
|
||||||
path_statements,
|
path_statements,
|
||||||
patterns_in_fns_without_body,
|
patterns_in_fns_without_body,
|
||||||
private_in_public,
|
|
||||||
unconditional_recursion,
|
unconditional_recursion,
|
||||||
unused,
|
unused,
|
||||||
unused_allocation,
|
unused_allocation,
|
||||||
|
@ -48,7 +48,6 @@
|
|||||||
overflowing_literals,
|
overflowing_literals,
|
||||||
path_statements,
|
path_statements,
|
||||||
patterns_in_fns_without_body,
|
patterns_in_fns_without_body,
|
||||||
private_in_public,
|
|
||||||
unconditional_recursion,
|
unconditional_recursion,
|
||||||
unused,
|
unused,
|
||||||
unused_allocation,
|
unused_allocation,
|
||||||
|
@ -127,7 +127,7 @@ macro_rules! unwrap_option {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Creates an exported extern C function for the given runtime function declaration, forwarding to the runtime as obtained by $rt_cb (which should be `fn (fn (&mut impl Runtime))`).
|
/// Creates an exported extern C function for the given runtime function declaration, forwarding to the runtime as obtained by `$rt_cb` (which should be `fn (fn (&mut impl Runtime))`).
|
||||||
#[doc(hidden)]
|
#[doc(hidden)]
|
||||||
#[macro_export]
|
#[macro_export]
|
||||||
macro_rules! export_rust_runtime_fn {
|
macro_rules! export_rust_runtime_fn {
|
||||||
|
@ -49,7 +49,6 @@
|
|||||||
overflowing_literals,
|
overflowing_literals,
|
||||||
path_statements,
|
path_statements,
|
||||||
patterns_in_fns_without_body,
|
patterns_in_fns_without_body,
|
||||||
private_in_public,
|
|
||||||
unconditional_recursion,
|
unconditional_recursion,
|
||||||
unused,
|
unused,
|
||||||
unused_allocation,
|
unused_allocation,
|
||||||
|
@ -55,7 +55,6 @@ Additional documentation is available in [the `LibAFL` book](https://aflplus.plu
|
|||||||
overflowing_literals,
|
overflowing_literals,
|
||||||
path_statements,
|
path_statements,
|
||||||
patterns_in_fns_without_body,
|
patterns_in_fns_without_body,
|
||||||
private_in_public,
|
|
||||||
unconditional_recursion,
|
unconditional_recursion,
|
||||||
unused,
|
unused,
|
||||||
unused_allocation,
|
unused_allocation,
|
||||||
|
@ -58,7 +58,6 @@
|
|||||||
overflowing_literals,
|
overflowing_literals,
|
||||||
path_statements,
|
path_statements,
|
||||||
patterns_in_fns_without_body,
|
patterns_in_fns_without_body,
|
||||||
private_in_public,
|
|
||||||
unconditional_recursion,
|
unconditional_recursion,
|
||||||
unused,
|
unused,
|
||||||
unused_allocation,
|
unused_allocation,
|
||||||
|
@ -48,7 +48,6 @@
|
|||||||
overflowing_literals,
|
overflowing_literals,
|
||||||
path_statements,
|
path_statements,
|
||||||
patterns_in_fns_without_body,
|
patterns_in_fns_without_body,
|
||||||
private_in_public,
|
|
||||||
unconditional_recursion,
|
unconditional_recursion,
|
||||||
unused,
|
unused,
|
||||||
unused_allocation,
|
unused_allocation,
|
||||||
|
@ -50,7 +50,6 @@
|
|||||||
overflowing_literals,
|
overflowing_literals,
|
||||||
path_statements,
|
path_statements,
|
||||||
patterns_in_fns_without_body,
|
patterns_in_fns_without_body,
|
||||||
private_in_public,
|
|
||||||
unconditional_recursion,
|
unconditional_recursion,
|
||||||
unused,
|
unused,
|
||||||
unused_allocation,
|
unused_allocation,
|
||||||
|
@ -52,7 +52,6 @@ The tinyinst module for `LibAFL`.
|
|||||||
overflowing_literals,
|
overflowing_literals,
|
||||||
path_statements,
|
path_statements,
|
||||||
patterns_in_fns_without_body,
|
patterns_in_fns_without_body,
|
||||||
private_in_public,
|
|
||||||
unconditional_recursion,
|
unconditional_recursion,
|
||||||
unused,
|
unused,
|
||||||
unused_allocation,
|
unused_allocation,
|
||||||
|
@ -4,7 +4,7 @@ cd "$SCRIPT_DIR/.." || exit 1
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
RUST_BACKTRACE=full cargo +nightly clippy --all --all-features --release --tests --examples --benches -- -Z macro-backtrace \
|
RUST_BACKTRACE=full cargo +nightly clippy --all --all-features --tests --examples --benches -- -Z macro-backtrace \
|
||||||
-D clippy::all \
|
-D clippy::all \
|
||||||
-D clippy::pedantic \
|
-D clippy::pedantic \
|
||||||
-W clippy::similar_names \
|
-W clippy::similar_names \
|
||||||
@ -21,7 +21,7 @@ RUST_BACKTRACE=full cargo +nightly clippy --all --all-features --release --tests
|
|||||||
|
|
||||||
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
|
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
|
||||||
cd libafl_libfuzzer/libafl_libfuzzer_runtime
|
cd libafl_libfuzzer/libafl_libfuzzer_runtime
|
||||||
RUST_BACKTRACE=full cargo +nightly clippy --all --all-features --release --tests --examples --benches -- -Z macro-backtrace \
|
RUST_BACKTRACE=full cargo +nightly clippy --all --all-features --tests --examples --benches -- -Z macro-backtrace \
|
||||||
-D clippy::all \
|
-D clippy::all \
|
||||||
-D clippy::pedantic \
|
-D clippy::pedantic \
|
||||||
-W clippy::similar_names \
|
-W clippy::similar_names \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user