Skip to content

Commit

Permalink
升级 wazero 版本, proxywasm 支持准备工作
Browse files Browse the repository at this point in the history
  • Loading branch information
chai2010 committed Nov 12, 2023
1 parent bc775d6 commit 6caa3cb
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ go 1.17
require (
github.com/BurntSushi/toml v1.3.2
wa-lang.org/wabt-go v1.3.0
wa-lang.org/wazero v1.0.1
wa-lang.org/wazero v1.0.2
)
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ wa-lang.org/wabt-go v1.3.0 h1:7oSrr80hGlf9G6wwf2pQQ1NXbeqBxEk3D3GDWwbYmVA=
wa-lang.org/wabt-go v1.3.0/go.mod h1:v4fKY/p4oMiKwQ2S2aC/wOXvJ2bk2MgtLmwK0TKTNx0=
wa-lang.org/wazero v1.0.1 h1:6o6M2o6TP0c6b1+jJtfFaAJQGBIk8HrDegIGzrtwmGc=
wa-lang.org/wazero v1.0.1/go.mod h1:r1lGhhlgAnh5eZyNHe/dslT0LF7aY3qZGJWCbxRqf3E=
wa-lang.org/wazero v1.0.2 h1:YFWmcMroUUzfUhuh8+07K7gI0Qy7ZPe/mAMwNc+LkRE=
wa-lang.org/wazero v1.0.2/go.mod h1:r1lGhhlgAnh5eZyNHe/dslT0LF7aY3qZGJWCbxRqf3E=
11 changes: 11 additions & 0 deletions internal/wazero/proxywasm.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// 版权 @2022 凹语言 作者。保留所有权利。

package wazero

import (
proxywasm "wa-lang.org/wazero/imports/proxywasm"
)

func _() {
proxywasm.GetVMConfiguration()
}

0 comments on commit 6caa3cb

Please sign in to comment.