Randy Reddig
Randy Reddig
Do we want to close this in favor of keeping the target files as canonical?
> I think there is some code in the waisp1 or wasip2 branch that detects "something" (will need to double check) based on the first or last --dir option provided....
I haven't. I'll try that!
Looks like a logic error on my part. Fixed! I wanted `-x` to accurately reflect the arguments passed to `wasmtime`, but I initially failed to account for the difference between...
Is squash merge okay?
The Cgo hack can’t be used because it creates a circular dependency on package `syscall`. What if I limited this PR to just `wasm32`?
One complication: -Target=wasip2 sets GOARCH=arm GOOS=linux. This means that foo_wasm.syso would not be found. Do you have any plans to change the GOARCH/GOOS handling for architectures that TinyGo supports that...
@dgryski @aykevl would you prefer I split this into two parts, one that upgrades the `wasm-tools-go` dependency and regenerates the bindings, and a separate one with the wasm types changes...
> > would you prefer I split this into two parts, one that upgrades the wasm-tools-go dependency and regenerates the bindings, and a separate one with the wasm types changes...
What's the minimum version of Go supported by TinyGo? Looks like this field was added in 1.21: https://pkg.go.dev/go/types#Package.GoVersion