Skip to content

Commit 9026117

Browse files
committed
wit: keep the original github.com urls
Signed-off-by: Jiaxiao Zhou (Mossaka) <duibao55328@gmail.com>
1 parent c63e54b commit 9026117

File tree

4 files changed

+4
-8
lines changed

4 files changed

+4
-8
lines changed

wit/codec.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff 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')
234230
func (c *interfaceRefCodec) DecodeInt(i int) error {
235231
c.ref.Interface = c.getInterface(i)
236232
return nil

wit/docs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@
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
3737
package wit

wit/resolve.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ import (
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
10811081
type Future struct {
10821082
_typeDefKind

wit/wit.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
437437
var witKeywords = map[string]bool{
438438
"as": true,
439439
"bool": true,

0 commit comments

Comments
 (0)