We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cdb1cf7 + 8006434 commit c0703b5Copy full SHA for c0703b5
vendor.go
@@ -0,0 +1,12 @@
1
+// This file is intended to fix a bug that occurs with Go's go mod vendor and cgo combination.
2
+// Normally, directories containing only C/C++ language files are ignored by go mod vendor, but go:embed forces them to be copied.
3
+// If we do not use embed.FS to perform the operation, the generated binaries will not reflect the embedded files.
4
+// See detail issue: https://github.com/golang/go/issues/26366
5
+package zetasql
6
+
7
+import (
8
+ "embed"
9
+)
10
11
+//go:embed internal/ccall/*
12
+var _ embed.FS
0 commit comments