Skip to content

Commit d7364ee

Browse files
pocopepecmainas
authored andcommitted
ci: build the fuzz targets with the Go of the image
Ref: #852 Signed-off-by: viju <avijusanjai@gmail.com>
1 parent be891f1 commit d7364ee

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

‎.clusterfuzzlite/build.sh‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
# Only meant to run inside ClusterFuzzLite or OSS-Fuzz, which provide
1818
# compile_native_go_fuzzer_v2.
1919

20+
# go-118-fuzz-build cannot patch a toolchain that go downloads into the module cache.
21+
export GOTOOLCHAIN=local
22+
2023
fuzzer=FuzzGetUnikernelConfig
2124
compile_native_go_fuzzer_v2 github.com/urunc-dev/urunc/pkg/unikontainers "$fuzzer" "$fuzzer"
2225

‎.github/linters/urunc-dict.txt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -503,3 +503,4 @@ memfd
503503
errgrpc
504504
Inuth
505505
clusterfuzzlite
506+
gotoolchain

0 commit comments

Comments
 (0)