1、Using APISIX build tools git@github.com:api7/apisix-build-tools.git tag:apisix/2.13.2
Runnging build-apisix-base.sh to build openresty and the result is successful.
2、Building APISIX git@github.com:apache/apisix.git tag: 2.13.2
Running make deps to build APISIX and the result is successful.
3、Compile wasm plugin:
tinygo build -o ./fault-injection/main.go.wasm -scheduler=none -target=wasi ./fault-injection/main.go
The main.go.wasm absolute path is /Users/John/fault-injection/main.go.wasm
4、Modify APISXIX config.yaml
OS Platform Info:
Darwin 20.4.0 x86_64
Build Process:
1、Using APISIX build tools
git@github.com:api7/apisix-build-tools.git
tag:apisix/2.13.2
Runngingbuild-apisix-base.sh
to build openresty and the result is successful. 2、Building APISIXgit@github.com:apache/apisix.git
tag:2.13.2
Runningmake deps
to build APISIX and the result is successful. 3、Compile wasm plugin:tinygo build -o ./fault-injection/main.go.wasm -scheduler=none -target=wasi ./fault-injection/main.go
The main.go.wasm absolute path is/Users/John/fault-injection/main.go.wasm
4、Modify APISXIX config.yaml5、Start APISIX
sudo ./bin/apisix start
The ./logs/error.log as following