builder: add support for Go 1.20

Not all features work yet, but allow it to compile with this Go version.
This commit is contained in:
Ayke van Laethem
2023-01-13 17:53:55 +00:00
committed by Ron Evans
parent 3177591b31
commit 0d646d8e95
6 changed files with 24 additions and 10 deletions
+2 -2
View File
@@ -8,9 +8,9 @@
// Type checking errors after CGo processing:
// testdata/errors.go:102: cannot use 2 << 10 (untyped int constant 2048) as C.char value in variable declaration (overflows)
// testdata/errors.go:105: unknown field z in struct literal
// testdata/errors.go:108: undeclared name: C.SOME_CONST_1
// testdata/errors.go:108: undefined: C.SOME_CONST_1
// testdata/errors.go:110: cannot use C.SOME_CONST_3 (untyped int constant 1234) as byte value in variable declaration (overflows)
// testdata/errors.go:112: undeclared name: C.SOME_CONST_4
// testdata/errors.go:112: undefined: C.SOME_CONST_4
package main