Skip to content

Commit aad8fdc

Browse files
committed
pest: remove +nightly from cargo fuzz build
this should hopefully resolve the recent build issue: ``` Step google#5: warning: /workspace/out/libfuzzer-coverage-x86_64/dumps/parser.14845295624977050394_0.profraw: unsupported instrumentation profile format version Step google#5: error: no profile can be merged Step google#5: [2024-02-28 06:09:14,766 INFO] Finding shared libraries for targets (if any). Step google#5: [2024-02-28 06:09:14,775 INFO] Finished finding shared libraries for targets. Step google#5: error: parser: Failed to load coverage: No such file or directory Step google#5: error: Could not load coverage information Step google#5: error: No such file or directory: Could not read profile data! Step google#5: Traceback (most recent call last): Step google#5: File "/usr/local/bin/profraw_update.py", line 129, in <module> Step google#5: sys.exit(main()) Step google#5: File "/usr/local/bin/profraw_update.py", line 120, in main Step google#5: profraw_latest = upgrade(profraw_base, sect_prf_cnts, sect_prf_data) Step google#5: File "/usr/local/bin/profraw_update.py", line 87, in upgrade Step google#5: relativize_address(data, offset + 16, dataref, sect_prf_cnts, sect_prf_data) Step google#5: File "/usr/local/bin/profraw_update.py", line 35, in relativize_address Step google#5: value = struct.unpack('Q', data[offset:offset + 8])[0] Step google#5: struct.error: unpack requires a buffer of 8 bytes ```
1 parent b45ceb9 commit aad8fdc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

projects/pest/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
################################################################################
1616
cd $SRC/pest/meta
1717
RUSTFLAGS="" cargo bootstrap
18-
cargo +nightly fuzz build
18+
cargo fuzz build
1919
cd $SRC/pest/grammars
20-
cargo +nightly fuzz build
20+
cargo fuzz build
2121
cp $SRC/pest/meta/fuzz/target/x86_64-unknown-linux-gnu/release/parser $OUT/
2222
cp $SRC/pest/grammars/fuzz/target/x86_64-unknown-linux-gnu/release/toml $OUT/
2323
cp $SRC/pest/grammars/fuzz/target/x86_64-unknown-linux-gnu/release/json $OUT/

0 commit comments

Comments
 (0)