File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -49,10 +49,12 @@ jobs:
4949 run : |
5050 rustup target add thumbv7m-none-eabi
5151 sudo apt-get -y install gcc-arm-none-eabi
52+ sudo apt-get clean
5253 - name : shellcheck the CI and `contrib` scripts
5354 if : " matrix.platform == 'ubuntu-latest'"
5455 run : |
5556 sudo apt-get -y install shellcheck
57+ sudo apt-get clean
5658 shellcheck ci/*.sh -aP ci
5759 shellcheck contrib/*.sh -aP contrib
5860 - name : Set RUSTFLAGS to deny warnings
@@ -260,6 +262,7 @@ jobs:
260262 run : |
261263 sudo apt-get update
262264 sudo apt-get -y install build-essential binutils-dev libunwind-dev
265+ sudo apt-get clean
263266 - name : Pin the regex dependency
264267 run : |
265268 cd fuzz && cargo update -p regex --precise "1.9.6" --verbose
Original file line number Diff line number Diff line change @@ -18,13 +18,14 @@ export RUSTFLAGS="--cfg=secp256k1_fuzz --cfg=hashes_fuzz"
1818mkdir -p hfuzz_workspace/full_stack_target/input
1919pushd write-seeds
2020RUSTFLAGS=" $RUSTFLAGS --cfg=fuzzing" cargo run ../hfuzz_workspace/full_stack_target/input
21+ cargo clean
2122popd
2223
2324cargo install --color always --force honggfuzz --no-default-features
25+
2426# Because we're fuzzing relatively few iterations, the maximum possible
25- # compiler optimizations aren't necessary, so switch to defaults.
27+ # compiler optimizations aren't necessary, so we turn off LTO
2628sed -i ' s/lto = true//' Cargo.toml
27- sed -i ' s/codegen-units = 1//' Cargo.toml
2829
2930export HFUZZ_BUILD_ARGS=" --features honggfuzz_fuzz"
3031
You can’t perform that action at this time.
0 commit comments