Skip to content

Commit

Permalink
rust: unpin serde
Browse files Browse the repository at this point in the history
now that clang was updated ton 18.1 and nightly is more recent
  • Loading branch information
catenacyber committed Oct 2, 2024
1 parent d8685f5 commit 73e46ef
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 29 deletions.
4 changes: 0 additions & 4 deletions projects/askama/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@

set -eox pipefail

pushd $SRC/askama/fuzz
cargo update -p serde --precise 1.0.200
popd

target_out_dir=fuzz/target/x86_64-unknown-linux-gnu/release
cargo fuzz build -O
cargo fuzz list | while read i; do
Expand Down
4 changes: 0 additions & 4 deletions projects/bson-rust/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@
#
################################################################################

pushd $SRC/bson-rust/fuzz
cargo update -p serde --precise 1.0.200
popd

cargo fuzz build -O
fuzz_release=fuzz/target/x86_64-unknown-linux-gnu/release
cp $fuzz_release/deserialize $OUT/
Expand Down
6 changes: 0 additions & 6 deletions projects/librsvg/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,6 @@ export CXXFLAGS="${CXXFLAGS_SAVE}"
# Compile and copy the fuzz target(s)
cd "$SRC/librsvg/fuzz"

# Pin serde because it now requires a nightly compiler that is more recent than the one on the
# OSS-Fuzz image:
# https://github.com/serde-rs/serde/issues/2770
# https://github.com/google/oss-fuzz/pull/12077
cargo update --package serde --precise 1.0.203

cargo fuzz build -O
cp target/x86_64-unknown-linux-gnu/release/render_document "$OUT/"

Expand Down
4 changes: 0 additions & 4 deletions projects/opensk/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@ build_and_copy() {

cd OpenSK

# Temporary fix to pin serde
pushd libraries/opensk/fuzz
cargo update -p serde --precise 1.0.200
popd
# CTAP library fuzzing targets
build_and_copy libraries/opensk

Expand Down
4 changes: 0 additions & 4 deletions projects/ron/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@
################################################################################


pushd $SRC/ron/fuzz
cargo update -p serde --precise 1.0.200
popd

cargo fuzz build -O
FUZZ_TARGET_OUTPUT_DIR=fuzz/target/x86_64-unknown-linux-gnu/release
for f in fuzz/fuzz_targets/*.rs
Expand Down
3 changes: 0 additions & 3 deletions projects/servo/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@
#
################################################################################

cd $SRC/html5ever/html5ever/fuzz
cargo update -p serde --precise 1.0.200
cd ..
cargo fuzz build -O
cp fuzz/target/x86_64-unknown-linux-gnu/release/fuzz_document_parse $OUT/

Expand Down
4 changes: 0 additions & 4 deletions projects/toml_edit/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@
#
################################################################################

pushd $SRC/toml_edit/crates/toml_edit_fuzz
cargo update -p serde --precise 1.0.203
popd

cd $SRC/toml_edit
cargo fuzz build --fuzz-dir=./crates/toml_edit_fuzz -O
cp target/x86_64-unknown-linux-gnu/release/parse_document $OUT/

0 comments on commit 73e46ef

Please sign in to comment.