Skip to content

Commit 04b50cc

Browse files
authored
fix(bindings): remove import "C" from Go test file (#42)
Go forbids cgo (import "C") in _test.go files. The cgo bridge already lives in gf16.go; tests only call Go wrappers (FromF32, ToF32, etc.) so the duplicate cgo block was unnecessary. Closes #37
1 parent f91adf5 commit 04b50cc

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

go/goldenfloat/gf16_test.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,6 @@ import (
1212
"testing"
1313
)
1414

15-
/*
16-
#cgo LDFLAGS: -L../../zig-out/lib -lgoldenfloat
17-
#cgo CFLAGS: -I../../include
18-
*/
19-
import "C"
20-
2115
// ============================================================================
2216
// Test Helpers
2317
// ============================================================================

0 commit comments

Comments
 (0)