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:
Crypt Keeper
2023-07-10 11:46:20 +08:00
committed by GitHub
parent d3f09bdcff
commit 6efcf25505
41 changed files with 707 additions and 261 deletions

View File

@@ -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 {