Skip to content

chore: migrate to go.bytecodealliance.org from github.com/ydnar/wasm-tools-go #17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion examples/component_main/component_main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"time"

"github.com/dev-wasm/dev-wasm-go/lib/wasi/cli/run"
"github.com/ydnar/wasm-tools-go/cm"
"go.bytecodealliance.org/cm"
)

func Run() cm.BoolResult {
Expand Down
15 changes: 6 additions & 9 deletions examples/component_main/go.mod
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
module github.com/dev-wasm/dev-wasm-go/examples/component_main

require (
github.com/dev-wasm/dev-wasm-go v0.0.0-20240903232551-3526e9637f2b // indirect
github.com/dev-wasm/dev-wasm-go/lib v0.0.0-20240903233842-b25e2e499927 // indirect
github.com/ydnar/wasm-tools-go v0.1.5 // indirect
)

replace github.com/dev-wasm/dev-wasm-go/lib/ v0.0.0 => ../../lib/
go 1.23.0

go 1.22.0
replace github.com/dev-wasm/dev-wasm-go/lib v0.0.0 => ../../lib/

toolchain go1.23.0
require (
github.com/dev-wasm/dev-wasm-go/lib v0.0.0
go.bytecodealliance.org/cm v0.1.1-0.20250218151459-e57ac0139b6f
)
10 changes: 2 additions & 8 deletions examples/component_main/go.sum
Original file line number Diff line number Diff line change
@@ -1,8 +1,2 @@
github.com/dev-wasm/dev-wasm-go v0.0.0-20240903232551-3526e9637f2b h1:ePgn3zA/f73orXx0LO/UPL8gausq6w3CGdEfFuq2mFM=
github.com/dev-wasm/dev-wasm-go v0.0.0-20240903232551-3526e9637f2b/go.mod h1:0B1yjENHxtWKjCfmluGgtezq/bfen86rNhVTZBiLo6E=
github.com/dev-wasm/dev-wasm-go/lib v0.0.0-20240828183202-21561ad166e4 h1:WVwIL8iF8suKXHzdVDefkFo1mjYvMOoA5SnLrjrtUOY=
github.com/dev-wasm/dev-wasm-go/lib v0.0.0-20240828183202-21561ad166e4/go.mod h1:eyHGUpflr/37EgTuiJg+m+qz9zVeq6Ffk1ltvWMb8qY=
github.com/dev-wasm/dev-wasm-go/lib v0.0.0-20240903233842-b25e2e499927 h1:6d2BT8T/D7NZ/8sIGFn03t5fuvYlRaVQuxb0IyVzPo8=
github.com/dev-wasm/dev-wasm-go/lib v0.0.0-20240903233842-b25e2e499927/go.mod h1:xi8sLzp98HaAHL9V87SHzaHnO67qi6fyUVH2JRUA4Ds=
github.com/ydnar/wasm-tools-go v0.1.5 h1:ah2WT4gH0IrmN29ZSsjgNC9SPsdXZ+KN+o9uTZqNVSI=
github.com/ydnar/wasm-tools-go v0.1.5/go.mod h1:L3sDi5rbAMJNmMO5cpDRzYYhB0r9xIU0xgpKjwU0Adg=
go.bytecodealliance.org/cm v0.1.1-0.20250218151459-e57ac0139b6f h1:cHJcIruuUZwd7rDdcJHOVotufiO+qPfFwcxb6uCUVSI=
go.bytecodealliance.org/cm v0.1.1-0.20250218151459-e57ac0139b6f/go.mod h1:NZ2UT0DyGhBfpIPOxPMCuG6g1YTR4YF3xweD7mHX5VQ=
4 changes: 2 additions & 2 deletions http/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ go 1.22.0
toolchain go1.22.5

require (
github.com/dev-wasm/dev-wasm-go/lib v0.0.0 // indirect
github.com/ydnar/wasm-tools-go v0.1.5 // indirect
github.com/dev-wasm/dev-wasm-go/lib v0.0.0
go.bytecodealliance.org/cm v0.1.1-0.20250218151459-e57ac0139b6f
)

replace github.com/dev-wasm/dev-wasm-go/lib v0.0.0 => ../lib
4 changes: 2 additions & 2 deletions http/go.sum
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
github.com/ydnar/wasm-tools-go v0.1.5 h1:ah2WT4gH0IrmN29ZSsjgNC9SPsdXZ+KN+o9uTZqNVSI=
github.com/ydnar/wasm-tools-go v0.1.5/go.mod h1:L3sDi5rbAMJNmMO5cpDRzYYhB0r9xIU0xgpKjwU0Adg=
go.bytecodealliance.org/cm v0.1.1-0.20250218151459-e57ac0139b6f h1:cHJcIruuUZwd7rDdcJHOVotufiO+qPfFwcxb6uCUVSI=
go.bytecodealliance.org/cm v0.1.1-0.20250218151459-e57ac0139b6f/go.mod h1:NZ2UT0DyGhBfpIPOxPMCuG6g1YTR4YF3xweD7mHX5VQ=
2 changes: 1 addition & 1 deletion http/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (

wasiclient "github.com/dev-wasm/dev-wasm-go/lib/http/client"
"github.com/dev-wasm/dev-wasm-go/lib/wasi/cli/run"
"github.com/ydnar/wasm-tools-go/cm"
"go.bytecodealliance.org/cm"
)

// This is required for building the module for some reason
Expand Down
2 changes: 1 addition & 1 deletion lib/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ module github.com/dev-wasm/dev-wasm-go/lib

go 1.22.0

require github.com/ydnar/wasm-tools-go v0.1.5
require go.bytecodealliance.org/cm v0.1.1-0.20250218151459-e57ac0139b6f
4 changes: 2 additions & 2 deletions lib/go.sum
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
github.com/ydnar/wasm-tools-go v0.1.5 h1:ah2WT4gH0IrmN29ZSsjgNC9SPsdXZ+KN+o9uTZqNVSI=
github.com/ydnar/wasm-tools-go v0.1.5/go.mod h1:L3sDi5rbAMJNmMO5cpDRzYYhB0r9xIU0xgpKjwU0Adg=
go.bytecodealliance.org/cm v0.1.1-0.20250218151459-e57ac0139b6f h1:cHJcIruuUZwd7rDdcJHOVotufiO+qPfFwcxb6uCUVSI=
go.bytecodealliance.org/cm v0.1.1-0.20250218151459-e57ac0139b6f/go.mod h1:NZ2UT0DyGhBfpIPOxPMCuG6g1YTR4YF3xweD7mHX5VQ=
2 changes: 1 addition & 1 deletion lib/http/client/transport.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (

outgoinghandler "github.com/dev-wasm/dev-wasm-go/lib/wasi/http/outgoing-handler"
"github.com/dev-wasm/dev-wasm-go/lib/wasi/http/types"
"github.com/ydnar/wasm-tools-go/cm"
"go.bytecodealliance.org/cm"
)

const DEFAULT_USER_AGENT = "WASI-HTTP-Go/0.0.2"
Expand Down
2 changes: 1 addition & 1 deletion lib/http/server/handler/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (

incominghandler "github.com/dev-wasm/dev-wasm-go/lib/wasi/http/incoming-handler"
"github.com/dev-wasm/dev-wasm-go/lib/wasi/http/types"
"github.com/ydnar/wasm-tools-go/cm"
"go.bytecodealliance.org/cm"
)

var h = &handler{
Expand Down
2 changes: 1 addition & 1 deletion lib/wasi/cli/run/run.exports.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/wasi/cli/run/run.wit.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions lib/wasi/cli/stderr/stderr.wasm.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 8 additions & 7 deletions lib/wasi/cli/stderr/stderr.wit.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions lib/wasi/cli/stdin/stdin.wasm.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 8 additions & 7 deletions lib/wasi/cli/stdin/stdin.wit.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions lib/wasi/cli/stdout/stdout.wasm.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 8 additions & 7 deletions lib/wasi/cli/stdout/stdout.wit.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions lib/wasi/clocks/monotonic-clock/monotonic-clock.wasm.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

31 changes: 10 additions & 21 deletions lib/wasi/clocks/monotonic-clock/monotonic-clock.wit.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions lib/wasi/clocks/wall-clock/wall-clock.wasm.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 7 additions & 10 deletions lib/wasi/clocks/wall-clock/wall-clock.wit.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 1 addition & 5 deletions lib/wasi/http/incoming-handler/incoming-handler.exports.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading