Skip to content

Commit

Permalink
fix version
Browse files Browse the repository at this point in the history
Signed-off-by: Adrian Cole <adrian@tetrate.io>
  • Loading branch information
Adrian Cole committed Nov 3, 2022
1 parent 8f23653 commit 4163000
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 16 deletions.
2 changes: 1 addition & 1 deletion test/integrate/proxywasm/testdata/req-header-v1/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ module mosn.io/mosn/example
go 1.16

// Oldest version of proxy-wasm-go-sdk which allows overriding with abi_010
require github.com/tetratelabs/proxy-wasm-go-sdk v0.0.14
require github.com/tetratelabs/proxy-wasm-go-sdk v0.0.13
12 changes: 0 additions & 12 deletions test/integrate/proxywasm/testdata/req-header-v1/go.sum

This file was deleted.

6 changes: 3 additions & 3 deletions test/integrate/proxywasm/testdata/req-header-v1/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ import (
"github.com/tetratelabs/proxy-wasm-go-sdk/proxywasm/types"
)

// build main like below with proxy-wasm-go-sdk v0.0.14 which withes with
// build main like below with proxy-wasm-go-sdk v0.0.13 which withes with
// TinyGo 0.19.0 (which works with Go 1.16).
//
// tinygo build -o main.wasm -scheduler=none -target=wasi -tags 'abi_010' --no-debug ./main.go
// tinygo build -o main.wasm -scheduler=none -target=wasi --no-debug -wasm-abi=generic -tags 'abi_010' ./main.go
//
// Note: Old tooling is needed because mosn.io/proxy-wasm-go-host v2 is
// incompatible with the proxy-wasm specification.
// incompatible with current proxy-wasm SDKs.
func main() {
proxywasm.SetNewHttpContext(newHttpContext)
}
Expand Down
Binary file modified test/integrate/proxywasm/testdata/req-header-v1/main.wasm
Binary file not shown.

0 comments on commit 4163000

Please sign in to comment.