FuelLabs / fuel-vm

Fuel v2 interpreter in Rust
Other
358 stars 88 forks source link

fix(fuzz_coverage): Don't specify compiler version to avoid raw profile version mismatch #860

Closed netrome closed 1 month ago

netrome commented 1 month ago

This PR fixes the missing coverage reports by removing an unnecessary nightly version pinning. As the OSS-FUZZ base builder image already comes with the latest rust nightly compiler (docs https://google.github.io/oss-fuzz/getting-started/new-project-guide/rust-lang/#dockerfile), this version pinning which causes a version conflict in the generated raw profile file.

The fix is to simply remove the pinned compiler version from the dockerfile.

This has been tested and a successful CI run can be observed here, with the generated coverage reports visible here.