Skip to content

Commit

Permalink
Fix go mod vendor
Browse files Browse the repository at this point in the history
  • Loading branch information
goccy committed Oct 18, 2022
1 parent cdb1cf7 commit 8006434
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions vendor.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// This file is intended to fix a bug that occurs with Go's go mod vendor and cgo combination.
// Normally, directories containing only C/C++ language files are ignored by go mod vendor, but go:embed forces them to be copied.
// If we do not use embed.FS to perform the operation, the generated binaries will not reflect the embedded files.
// See detail issue: https://github.com/golang/go/issues/26366
package zetasql

import (
"embed"
)

//go:embed internal/ccall/*
var _ embed.FS

0 comments on commit 8006434

Please sign in to comment.