cockroachdb-parser
cockroachdb-parser copied to clipboard
fix: Fix Build for GOOS=linux GOARCH=arm GOARM=6
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