mirror of
https://github.com/alibaba/higress.git
synced 2026-04-20 19:47:29 +08:00
update wasm go sdk to tinygo 0.28.1 (#462)
This commit is contained in:
@@ -22,8 +22,14 @@ import (
|
||||
"github.com/tidwall/gjson"
|
||||
|
||||
"github.com/alibaba/higress/plugins/wasm-go/pkg/matcher"
|
||||
_ "github.com/wasilibs/nottinygc"
|
||||
)
|
||||
|
||||
//export sched_yield
|
||||
func sched_yield() int32 {
|
||||
return 0
|
||||
}
|
||||
|
||||
type HttpContext interface {
|
||||
Scheme() string
|
||||
Host() string
|
||||
|
||||
Reference in New Issue
Block a user