Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

Commit 5d850a2

Browse files
committed
Rename "master" to "main" in repository URLs that have switched to "main".
Several WebAssembly organization repositories have changed their default branch from "master" to "main": see WebAssembly/design#1417 for details. This PR updates URLs in the spec repository to point to "main" instead of "master", for repositories which have done so.
1 parent 6d15d3e commit 5d850a2

File tree

10 files changed

+18
-18
lines changed

10 files changed

+18
-18
lines changed

Contributing.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
Interested in participating? Please follow
44
[the same contributing guidelines as the design repository][].
55

6-
[the same contributing guidelines as the design repository]: https://github.com/WebAssembly/design/blob/master/Contributing.md
6+
[the same contributing guidelines as the design repository]: https://github.com/WebAssembly/design/blob/main/Contributing.md
77

88
Also, please be sure to read [the README.md](README.md) for this repository.

document/core/appendix/changes.rst

+5-5
Original file line numberDiff line numberDiff line change
@@ -105,16 +105,16 @@ Added instructions that modify ranges of memory or table entries [#proposal-reft
105105

106106

107107
.. [#proposal-signext]
108-
https://github.com/WebAssembly/spec/tree/master/proposals/sign-extension-ops/
108+
https://github.com/WebAssembly/spec/tree/main/proposals/sign-extension-ops/
109109
110110
.. [#proposal-cvtsat]
111-
https://github.com/WebAssembly/spec/tree/master/proposals/nontrapping-float-to-int-conversion/
111+
https://github.com/WebAssembly/spec/tree/main/proposals/nontrapping-float-to-int-conversion/
112112
113113
.. [#proposal-multivalue]
114-
https://github.com/WebAssembly/spec/tree/master/proposals/multi-value/
114+
https://github.com/WebAssembly/spec/tree/main/proposals/multi-value/
115115
116116
.. [#proposal-reftype]
117-
https://github.com/WebAssembly/spec/tree/master/proposals/reference-types/
117+
https://github.com/WebAssembly/spec/tree/main/proposals/reference-types/
118118
119119
.. [#proposal-bulk]
120-
https://github.com/WebAssembly/spec/tree/master/proposals/bulk-memory-operations/
120+
https://github.com/WebAssembly/spec/tree/main/proposals/bulk-memory-operations/

document/deploy.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ incremental_deploy() {
177177
0) echo No changes to files in $deploy_directory. Skipping commit.;;
178178
1) commit_and_push;;
179179
*)
180-
echo git diff exited with code $diff. Aborting. Staying on branch $deploy_branch so you can debug. To switch back to master, use: git symbolic-ref HEAD refs/heads/master && git reset --mixed >&2
180+
echo git diff exited with code $diff. Aborting. Staying on branch $deploy_branch so you can debug. To switch back to main, use: git symbolic-ref HEAD refs/heads/main && git reset --mixed >&2
181181
return $diff
182182
;;
183183
esac

interpreter/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ WebAssemblyText.decode(binary)
163163

164164
## S-Expression Syntax
165165

166-
The implementation consumes a WebAssembly AST given in S-expression syntax. Here is an overview of the grammar of types, expressions, functions, and modules, mirroring what's described in the [design doc](https://github.com/WebAssembly/design/blob/master/Semantics.md).
166+
The implementation consumes a WebAssembly AST given in S-expression syntax. Here is an overview of the grammar of types, expressions, functions, and modules, mirroring what's described in the [design doc](https://github.com/WebAssembly/design/blob/main/Semantics.md).
167167

168168
Note: The grammar is shown here for convenience, the definite source is the [specification of the text format](https://webassembly.github.io/spec/core/text/).
169169
```
@@ -479,7 +479,7 @@ Moreover, float values are required to be precise, that is, they may not contain
479479

480480
## Abstract Syntax
481481

482-
The abstract WebAssembly syntax, as described above and in the [design doc](https://github.com/WebAssembly/design/blob/master/Semantics.md), is defined in [ast.ml](syntax/ast.ml).
482+
The abstract WebAssembly syntax, as described above and in the [design doc](https://github.com/WebAssembly/design/blob/main/Semantics.md), is defined in [ast.ml](syntax/ast.ml).
483483

484484
However, to simplify the implementation, this AST representation represents some of the inner structure of the operators more explicitly. The mapping from the operators as given in the design doc to their structured form is defined in [operators.ml](syntax/operators.ml).
485485

proposals/multi-value/Overview.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
- can easily be lifted by generalising to value* -> value*
1515

1616
* Generalised semantics is well-understood
17-
- https://github.com/WebAssembly/spec/tree/master/papers/pldi2017.pdf
17+
- https://github.com/WebAssembly/spec/tree/main/papers/pldi2017.pdf
1818

1919
* Semi-complete implementation of multiple results in V8
2020

proposals/nontrapping-float-to-int-conversion/Overview.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ https://github.com/WebAssembly/meetings/pull/3
3232

3333
and
3434

35-
https://github.com/WebAssembly/meetings/blob/master/2017/CG-05.md#non-trapping-float-to-int
35+
https://github.com/WebAssembly/meetings/blob/main/2017/CG-05.md#non-trapping-float-to-int
3636

3737
which made decisions about which semantics to choose, and which encoding strategy.
3838

@@ -43,7 +43,7 @@ https://github.com/WebAssembly/design/pull/1089
4343
At the CG-07-06 meeting it was decided that a full spec repo fork should be
4444
created to follow the new process for new features:
4545

46-
https://github.com/WebAssembly/meetings/blob/master/2017/CG-07-06.md#float-to-int-conversion
46+
https://github.com/WebAssembly/meetings/blob/main/2017/CG-07-06.md#float-to-int-conversion
4747

4848
This led to the creation of the present repo:
4949

proposals/reference-types/Overview.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ TODO: more text, motivation, explanation
66

77
Motivation:
88

9-
* Easier and more efficient interop with host environment (see e.g. the [Interface Types proposal](https://github.com/WebAssembly/interface-types/blob/master/proposals/interface-types/Explainer.md))
9+
* Easier and more efficient interop with host environment (see e.g. the [Interface Types proposal](https://github.com/WebAssembly/interface-types/blob/main/proposals/interface-types/Explainer.md))
1010
- allow host references to be represented directly by type `externref` (see [here](https://github.com/WebAssembly/interface-types/issues/9))
1111
- without having to go through tables, allocating slots, and maintaining index bijections at the boundaries
1212

@@ -19,7 +19,7 @@ by repurposing tables as a general memory for opaque data types
1919
* Set the stage for later additions:
2020

2121
- Typed function references (see [below](#typed-function-references))
22-
- Exception references (see the [exception handling proposal](https://github.com/WebAssembly/exception-handling/blob/master/proposals/Exceptions.md) and [here](https://github.com/WebAssembly/interface-types/issues/10))
22+
- Exception references (see the [exception handling proposal](https://github.com/WebAssembly/exception-handling/blob/main/proposals/Exceptions.md) and [here](https://github.com/WebAssembly/interface-types/issues/10))
2323
- A smoother transition path to GC (see the [GC proposal](https://github.com/WebAssembly/gc/blob/master/proposals/gc/Overview.md))
2424

2525
Get the most important parts soon!

proposals/sign-extension-ops/Overview.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ instr ::= ...
4545
| 0xC4 => i64.extend32_s
4646
```
4747

48-
[future sext]: https://github.com/WebAssembly/design/blob/master/FutureFeatures.md#additional-integer-operators
48+
[future sext]: https://github.com/WebAssembly/design/blob/main/FutureFeatures.md#additional-integer-operators
4949
[instruction syntax]: https://webassembly.github.io/spec/syntax/instructions.html
5050
[instruction binary format]: https://webassembly.github.io/spec/binary/instructions.html
5151
[spec]: https://webassembly.github.io/sign-extension-ops/

test/Todo.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
This is a rough list of "tests to write". Everything here should either be
2-
specified in [Semantics.md](https://github.com/WebAssembly/design/blob/master/Semantics.md),
2+
specified in [Semantics.md](https://github.com/WebAssembly/design/blob/main/Semantics.md),
33
have a link to an open issue/PR, or be obvious. Comments/corrections/additions
44
welcome.
55

test/core/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
This directory contains tests for the core WebAssembly semantics, as described in [Semantics.md](https://github.com/WebAssembly/design/blob/master/Semantics.md) and specified by the [spec interpreter](https://github.com/WebAssembly/spec/blob/master/interpreter).
1+
This directory contains tests for the core WebAssembly semantics, as described in [Semantics.md](https://github.com/WebAssembly/design/blob/main/Semantics.md) and specified by the [spec interpreter](https://github.com/WebAssembly/spec/blob/main/interpreter).
22

3-
Tests are written in the [S-Expression script format](https://github.com/WebAssembly/spec/blob/master/interpreter/README.md#s-expression-syntax) defined by the interpreter.
3+
Tests are written in the [S-Expression script format](https://github.com/WebAssembly/spec/blob/main/interpreter/README.md#s-expression-syntax) defined by the interpreter.
44

55
The test suite can be run with the spec interpreter as follows:
66
```

0 commit comments

Comments
 (0)