Skip to content
This repository has been archived by the owner on Jul 28, 2024. It is now read-only.

ci: update TinyGo to 0.32 #447

Merged
merged 5 commits into from
Jun 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/push-wasm-images.yaml
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ on:
branches:
- main
env:
TINYGO_VERSION: 0.31.2
TINYGO_VERSION: 0.32.0

jobs:
build-and-push-wasm-images:
@@ -32,7 +32,7 @@ jobs:
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GHCR_TOKEN }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build/Push Docker images
run: make wasm_image.build_push
2 changes: 1 addition & 1 deletion .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ on:
- main

env:
TINYGO_VERSION: 0.31.2
TINYGO_VERSION: 0.32.0

jobs:
style:
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@ This SDK is powered by [TinyGo](https://tinygo.org/) and does not support the of

## Requirements

- [TinyGo](https://tinygo.org/) - This SDK depends on TinyGo and leverages its [WASI](https://github.com/WebAssembly/WASI) (WebAssembly System Interface) target. Please follow the official instruction [here](https://tinygo.org/getting-started/) for installing TinyGo.
- [TinyGo](https://tinygo.org/): v0.32+ - This SDK depends on TinyGo and leverages its [WASI](https://github.com/WebAssembly/WASI) (WebAssembly System Interface) target. Please follow the official instruction [here](https://tinygo.org/getting-started/) for installing TinyGo.
- [Envoy](https://www.envoyproxy.io) - To run compiled examples, you need to have Envoy binary. We recommend using [func-e](https://func-e.io) as the easiest way to get started with Envoy. Alternatively, you can follow [the official instruction](https://www.envoyproxy.io/docs/envoy/latest/start/install).


Original file line number Diff line number Diff line change
@@ -12,8 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build !tinygo

// Since the difference of the types in SliceHeader.{Len, Cap} between tinygo and go,
// we have to have separated functions for converting bytes
// https://github.com/tinygo-org/tinygo/issues/1284
42 changes: 0 additions & 42 deletions proxywasm/internal/hostcall_utils_tinygo.go

This file was deleted.