github.com/primecitizens/pcz/std@v0.2.1/embed_ffigen.go (about) 1 // SPDX-License-Identifier: Apache-2.0 2 // Copyright 2023 The Prime Citizens 3 4 // NOTE: this file exits only to work around go:embed limitation 5 // of cross module embedding for the ffigen package. 6 7 package std 8 9 import ( 10 "embed" 11 _ "embed" // for go:embed 12 ) 13 14 //go:embed algo builtin core ffi rt0 runtime text 15 var coreFiles embed.FS 16 17 func FS() embed.FS { 18 return coreFiles 19 }