wasmtime-go:由Wasmtime支持的WebAssembly运行时

时间:2021-05-01 17:01:33
【文件属性】:
文件名称:wasmtime-go:由Wasmtime支持的WebAssembly运行时
文件大小:71KB
文件格式:ZIP
更新时间:2021-05-01 17:01:33
go rust golang runtime webassembly wasmtime-go 嵌入 项目 安装 go get -u github.com/bytecodealliance/wasmtime-go@v0.26.0 请务必查看! 这个Go库使用CGO来消费用Rust编写的的C API。 Wasmtime的预编译二进制文件被检入带标记的发行版的此存储库中,因此您不必在本地安装Wasmtime,但这意味着该项目当前仅在Linux x86_64,macOS x86_64和Windows x86_64上运行。 在其他平台上进行构建将需要安排构建Wasmtime并使用CGO_* env vars进行正确编译。 该项目已经过Go 1.13或更高版本的测试。 由于存在不建议在macOS上早于Go 1.14.11使用Go 1.14。 如果您是bazel用户,则将以下内容添加到您的WORKSPACE文件中: go_repository( na
【文件预览】:
wasmtime-go-main
----engine_test.go(368B)
----functype_test.go(1KB)
----module_test.go(4KB)
----.gitignore(14B)
----go.mod(56B)
----importtype.go(2KB)
----linker_test.go(5KB)
----moduletype.go(1KB)
----trap_test.go(2KB)
----instancetype.go(1KB)
----doc.go(927B)
----limits.go(1KB)
----module_linking_test.go(3KB)
----doc_test.go(10KB)
----memorytype.go(1KB)
----instance.go(4KB)
----val.go(6KB)
----config_test.go(871B)
----memory.go(3KB)
----BUILD.bazel(3KB)
----global_test.go(590B)
----build()
--------macos-x86_64()
--------include()
--------linux-x86_64()
--------windows-x86_64()
----exporttype.go(2KB)
----reftypes_test.go(6KB)
----extern.go(3KB)
----store_test.go(1KB)
----error.go(615B)
----importtype_test.go(584B)
----LICENSE(12KB)
----linker.go(6KB)
----func.go(16KB)
----wasi_test.go(586B)
----slab.go(291B)
----.github()
--------workflows()
----wat2wasm.go(883B)
----valtype.go(3KB)
----exporttype_test.go(230B)
----README.md(4KB)
----maybe_gc_actual.go(157B)
----memorytype_test.go(431B)
----module.go(8KB)
----slab_test.go(312B)
----functype.go(2KB)
----tabletype.go(2KB)
----shims.c(4KB)
----ci()
--------download-wasmtime.py(1KB)
--------local.sh(611B)
----WORKSPACE(596B)
----wasi.go(5KB)
----ffi.go(2KB)
----maybe_gc_no.go(126B)
----func_test.go(10KB)
----table_test.go(1KB)
----globaltype.go(2KB)
----instance_test.go(3KB)
----externtype.go(2KB)
----trap.go(4KB)
----wasm2wat_test.go(261B)
----engine.go(1KB)
----freelist.go(3KB)
----global.go(2KB)
----table.go(4KB)
----valtype_test.go(823B)
----shims.h(2KB)
----globaltype_test.go(695B)
----tabletype_test.go(830B)
----store.go(2KB)
----config.go(6KB)

网友评论