Explorar o código

Fix fuzz on latest nightly.

See https://github.com/rust-fuzz/cargo-fuzz/issues/276
Dario Nieuwenhuis %!s(int64=3) %!d(string=hai) anos
pai
achega
22400fe20c
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  1. 4 1
      .github/workflows/fuzz.yml

+ 4 - 1
.github/workflows/fuzz.yml

@@ -16,6 +16,9 @@ jobs:
           toolchain: nightly
           override: true
       - name: Install cargo-fuzz
-        run: cargo install cargo-fuzz
+        # Fix for cargo-fuzz on latest nightly: https://github.com/rust-fuzz/cargo-fuzz/issues/276
+        # Switch back to installing from crates.io when it's released.
+        #run: cargo install cargo-fuzz
+        run: cargo install --git https://github.com/rust-fuzz/cargo-fuzz --rev b4df3e58f767b5cad8d1aa6753961003f56f3609
       - name: Fuzz
         run: cargo fuzz run packet_parser -- -max_len=1536 -max_total_time=30