deps: upgrades to TinyGo v0.28.1 (#1512)
Signed-off-by: Adrian Cole <adrian@tetrate.io>
This commit is contained in:
2
.github/workflows/examples.yaml
vendored
2
.github/workflows/examples.yaml
vendored
@@ -17,7 +17,7 @@ on:
|
||||
|
||||
env:
|
||||
EMSDK_VERSION: "3.1.40"
|
||||
TINYGO_VERSION: "0.27.0"
|
||||
TINYGO_VERSION: "0.28.1"
|
||||
ZIG_VERSION: "0.11.0-dev.3334+cd1417dbd"
|
||||
|
||||
concurrency:
|
||||
|
||||
4
.github/workflows/integration.yaml
vendored
4
.github/workflows/integration.yaml
vendored
@@ -19,7 +19,7 @@ defaults:
|
||||
|
||||
env: # Update this prior to requiring a higher minor version in go.mod
|
||||
GO_VERSION: "1.20" # 1.xx == latest patch of 1.xx
|
||||
TINYGO_VERSION: "0.27.0"
|
||||
TINYGO_VERSION: "0.28.1"
|
||||
ZIG_VERSION: "0.11.0-dev.3334+cd1417dbd"
|
||||
|
||||
concurrency:
|
||||
@@ -143,7 +143,7 @@ jobs:
|
||||
- name: Build Test Binaries
|
||||
if: steps.binary-cache.outputs.cache-hit != 'true'
|
||||
# The following list of packages is derived from:
|
||||
# https://github.com/tinygo-org/tinygo/blob/v0.27.0/Makefile#L277-L324
|
||||
# https://github.com/tinygo-org/tinygo/blob/v0.28.1/Makefile#L281-L322
|
||||
# Note:
|
||||
# - index/suffixarray is extremely slow, so skip it.
|
||||
# - compress/zlib is skipped as it depends on the local files https://github.com/golang/go/blob/go1.20/src/compress/zlib/writer_test.go#L16-L30
|
||||
|
||||
5
examples/allocation/tinygo/testdata/greet.go
vendored
5
examples/allocation/tinygo/testdata/greet.go
vendored
@@ -27,10 +27,7 @@ func log(message string) {
|
||||
// _log is a WebAssembly import which prints a string (linear memory offset,
|
||||
// byteCount) to the console.
|
||||
//
|
||||
// Note: In TinyGo "//export" on a func is actually an import!
|
||||
//
|
||||
//go:wasm-module env
|
||||
//export log
|
||||
//go:wasmimport env log
|
||||
func _log(ptr, size uint32)
|
||||
|
||||
// greeting gets a greeting for the name.
|
||||
|
||||
BIN
examples/allocation/tinygo/testdata/greet.wasm
vendored
BIN
examples/allocation/tinygo/testdata/greet.wasm
vendored
Binary file not shown.
BIN
examples/basic/testdata/add.wasm
vendored
BIN
examples/basic/testdata/add.wasm
vendored
Binary file not shown.
BIN
examples/cli/testdata/cli.wasm
vendored
BIN
examples/cli/testdata/cli.wasm
vendored
Binary file not shown.
Binary file not shown.
BIN
internal/integration_test/bench/testdata/case.wasm
vendored
BIN
internal/integration_test/bench/testdata/case.wasm
vendored
Binary file not shown.
@@ -89,8 +89,7 @@ import "unsafe"
|
||||
// random_get is a function defined on the host, specifically, the wazero
|
||||
// program written in Go.
|
||||
//
|
||||
//go:wasm-module wasi_snapshot_preview1
|
||||
//export random_get
|
||||
//go:wasmimport wasi_snapshot_preview1 random_get
|
||||
func random_get(ptr uintptr, size uint32) (errno uint32)
|
||||
|
||||
// main is compiled to wasm, so this is the guest. Conventionally, this ends up
|
||||
|
||||
Reference in New Issue
Block a user