File tree Expand file tree Collapse file tree 3 files changed +13
-8
lines changed Expand file tree Collapse file tree 3 files changed +13
-8
lines changed Original file line number Diff line number Diff line change 4
4
5
5
FEATURES=" compiler use-serde rand"
6
6
7
- # Use toolchain if explicitly specified
8
- if [ -n " $TOOLCHAIN " ]
9
- then
10
- alias cargo=" cargo +$TOOLCHAIN "
11
- fi
12
-
13
7
cargo --version
14
8
rustc --version
15
9
10
+ MSRV=false
11
+ if cargo --version | grep " 1\.41\.0" ; then
12
+ MSRV=true
13
+ fi
14
+
15
+ if [ " $MSRV " = true ]; then
16
+ cargo update -p url --precise 2.2.2
17
+ cargo update -p form_urlencoded --precise 1.0.1
18
+ cargo update -p once_cell --precise 1.13.1
19
+ fi
20
+
16
21
# Format if told to
17
22
if [ " $DO_FMT " = true ]
18
23
then
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ afl_fuzz = ["afl"]
12
12
honggfuzz_fuzz = [" honggfuzz" ]
13
13
14
14
[dependencies ]
15
- honggfuzz = { version = " 0.5" , optional = true }
15
+ honggfuzz = { version = " 0.5" , optional = true , default-features = false }
16
16
afl = { version = " 0.8" , optional = true }
17
17
regex = { version = " 1.4" }
18
18
elements-miniscript = { path = " .." , features = [" compiler" ] }
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
set -e
3
- cargo install --force honggfuzz
3
+ cargo install --force honggfuzz --no-default-features
4
4
for TARGET in fuzz_targets/* ; do
5
5
FILENAME=$( basename $TARGET )
6
6
FILE=" ${FILENAME% .* } "
You can’t perform that action at this time.
0 commit comments