Exposes sys.Stat_t as a portable alternative to syscall.Stat_t (#1567)
Signed-off-by: Adrian Cole <adrian@tetrate.io>
This commit is contained in:
@@ -14,7 +14,7 @@ var testdataIndex embed.FS
|
||||
var moduleConfig wazero.ModuleConfig
|
||||
|
||||
// This example shows how to configure an embed.FS.
|
||||
func Example_withFSConfig_embedFS() {
|
||||
func Example_fsConfig() {
|
||||
// Strip the embedded path testdata/
|
||||
rooted, err := fs.Sub(testdataIndex, "testdata")
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user