Skip to content

Commit ec80a16

Browse files
committed
More details about -truncationdetect
1 parent cce09ba commit ec80a16

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,8 @@ export GOROOT=/path/to/go-panikint
2525
# Compile only
2626
./bin/go build test_simple_overflow.go
2727

28-
# Disable truncation detection
29-
./bin/go run -gcflags="-truncationdetect=false" program.go
30-
./bin/go build -gcflags="-truncationdetect=false" program.go
28+
# Build compiler with truncation detection disabled
29+
cd src && GOFLAGS="-gcflags=-truncationdetect=false" ./make.bash
3130

3231

3332
# Fuzz only

0 commit comments

Comments
 (0)