cockroachdb-parser icon indicating copy to clipboard operation
cockroachdb-parser copied to clipboard

fix: Fix Build for GOOS=linux GOARCH=arm GOARM=6

Open adrianosela opened this issue 6 months ago • 0 comments

fix: Fix Build for GOOS=linux GOARCH=arm GOARM=6

Before:

GOOS=linux GOARCH=arm GOARM=6 go build ...
# github.com/cockroachdb/cockroachdb-parser/pkg/util/timeofday
Error: vendor/github.com/cockroachdb/cockroachdb-parser/pkg/util/timeofday/time_of_day.go:150:44: microsecondsPerHour (untyped float constant 3.6e+09) truncated to int
make: *** [Makefile:108: build-linux-armv6] Error 1

adrianosela avatar May 15 '25 18:05 adrianosela