File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -226,11 +226,7 @@ type interfaceRefCodec struct {
226226}
227227
228228// This exists to support legacy JSON from wasm-tools pre v1.209.0.
229- << << << < HEAD
230229// See https://github.com/bytecodealliance/go-modules/issues/151.
231- == == == =
232- // See https://go.bytecodealliance.org/issues/151.
233- >> >> >> > bb5f758 (Mass search replace 'github .com / bytecodealliance / wasm - tools - go ' - > 'go .bytecodealliance .org ')
234230func (c * interfaceRefCodec ) DecodeInt (i int ) error {
235231 c .ref .Interface = c .getInterface (i )
236232 return nil
Original file line number Diff line number Diff line change 3232// [WebAssembly Interface Type]: https://component-model.bytecodealliance.org/design/wit.html
3333// [WebAssembly Component Model]: https://component-model.bytecodealliance.org/introduction.html
3434// [wit-parser]: https://docs.rs/wit-parser/latest/wit_parser/
35- // [source]: https://go.bytecodealliance.org /wasm-tools/tree/main/crates/wit-parser
35+ // [source]: https://github.com /wasm-tools/tree/main/crates/wit-parser
3636// [wasm-tools]: https://crates.io/crates/wasm-tools
3737package wit
Original file line number Diff line number Diff line change 77 "strings"
88 "unsafe"
99
10+ "github.com/coreos/go-semver/semver"
1011 "go.bytecodealliance.org/wit/iterate"
1112 "go.bytecodealliance.org/wit/ordered"
12- "github.com/coreos/go-semver/semver"
1313)
1414
1515// Resolve represents a fully resolved set of WIT ([WebAssembly Interface Type])
@@ -1076,7 +1076,7 @@ func (l *List) hasResource() bool { return HasResource(l.Type) }
10761076// Future represents a WIT [future type], expected to be part of [WASI Preview 3].
10771077// It implements the [Node], [ABI], and [TypeDefKind] interfaces.
10781078//
1079- // [future type]: https://go. bytecodealliance.org /wit-bindgen/issues/270
1079+ // [future type]: https://github.com/ bytecodealliance/wit-bindgen/issues/270
10801080// [WASI Preview 3]: https://bytecodealliance.org/articles/webassembly-the-updated-roadmap-for-developers
10811081type Future struct {
10821082 _typeDefKind
Original file line number Diff line number Diff line change @@ -433,7 +433,7 @@ func escape(name string) string {
433433
434434// A map of all [WIT keywords].
435435//
436- // [WIT keywords]: https://go.bytecodealliance.org /wasm-tools/blob/main/crates/wit-parser/src/ast/lex.rs#L524-L591
436+ // [WIT keywords]: https://github.com /wasm-tools/blob/main/crates/wit-parser/src/ast/lex.rs#L524-L591
437437var witKeywords = map [string ]bool {
438438 "as" : true ,
439439 "bool" : true ,
You can’t perform that action at this time.
0 commit comments