ci: upgrade to Go 1.23 (#2301)
Some checks failed
Release CLI / Pre-release build (push) Has been cancelled
Release CLI / Pre-release test (macos-14) (push) Has been cancelled
Release CLI / Pre-release test (ubuntu-22.04) (push) Has been cancelled
Release CLI / Pre-release test (windows-2022) (push) Has been cancelled
Release CLI / Release (push) Has been cancelled

This commit is contained in:
Nuno Cruces
2024-08-14 14:41:47 +01:00
committed by GitHub
parent 2b12e189ee
commit 5ed4c174cc
40 changed files with 90 additions and 120 deletions

View File

@@ -19,10 +19,12 @@ import (
"github.com/tetratelabs/wazero/sys"
)
type arbitrary struct{}
var (
binaryNamedZero = binaryencoding.EncodeModule(&wasm.Module{NameSection: &wasm.NameSection{ModuleName: "0"}})
// testCtx is an arbitrary, non-default context. Non-nil also prevents linter errors.
testCtx = context.WithValue(context.Background(), struct{}{}, "arbitrary")
testCtx = context.WithValue(context.Background(), arbitrary{}, "arbitrary")
)
var _ context.Context = &HostContext{}