Skip to content

Commit

Permalink
Update thrift build script
Browse files Browse the repository at this point in the history
This needs to be merged _after_ [1] to keep thrift working.

[1] is needed because the current test code of thrift is actually broken
with go 1.21, in order to fix the breakage some changes to go modules
are needed, and the same changes need to be applied here as well to keep
oss-fuzz working with thrift.

[1]: apache/thrift#2886
  • Loading branch information
fishy committed Dec 15, 2023
1 parent 71b3af8 commit 03f169b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions projects/thrift/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ make -j$(nproc)
make install

cd lib/go/test/fuzz
thrift -r --gen go ../../../../tutorial/tutorial.thrift
(cd ./gen-go/shared && go mod init shared)
(cd ./gen-go/tutorial && go mod init tutorial)
thrift -r --gen go:package_prefix=github.com/apache/thrift/lib/go/test/fuzz/gen-go/ ../../../../tutorial/tutorial.thrift
go mod tidy || true
compile_go_fuzzer . Fuzz fuzz_go_tutorial

0 comments on commit 03f169b

Please sign in to comment.