Skip to content

Commit

Permalink
Merge pull request #20 from goccy/fix-go-mod-vendor
Browse files Browse the repository at this point in the history
Fix go mod vendor
  • Loading branch information
goccy authored Oct 18, 2022
2 parents cdb1cf7 + 8006434 commit c0703b5
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 c0703b5

Please sign in to comment.