Rename the master branch to main (#1924)

* This PR is against a branch called `main`
* Internally all docs/CI/etc is updated
* The default branch of the repo is now `main`
* All active PRs have been updated to retarget `main`

Closes #1914
This commit is contained in:
Alex Crichton
2020-06-25 14:03:21 -05:00
committed by GitHub
parent c91a9313b5
commit a92a31d850
33 changed files with 45 additions and 45 deletions

View File

@@ -54,7 +54,7 @@ or `cargo run --bin wasmtime foo.wasm`.
The polyfill is online [here](https://wasi.dev/polyfill/).
The source is [here](https://github.com/bytecodealliance/wasmtime/tree/master/crates/wasi-c/js-polyfill).
The source is [here](https://github.com/bytecodealliance/wasmtime/tree/main/crates/wasi-c/js-polyfill).
## Where can I learn more?

View File

@@ -41,7 +41,7 @@ precompiled binaries:
1. Each tagged release will have a full set of release artifacts on the [GitHub
releases page][releases].
2. The [`dev` release] is also continuously updated with the latest build of the
`master` branch. If you want the latest-and-greatest and don't mind a bit of
`main` branch. If you want the latest-and-greatest and don't mind a bit of
instability, this is the release for you.
[`dev` release]: https://github.com/bytecodealliance/wasmtime/releases/tag/dev

View File

@@ -9,7 +9,7 @@ what's expected of contributors.
All CI currently happens on GitHub Actions and is configured in the [`.github`
directory][dir] of the repository.
[dir]: https://github.com/bytecodealliance/wasmtime/tree/master/.github
[dir]: https://github.com/bytecodealliance/wasmtime/tree/main/.github
## PRs and CI
@@ -33,7 +33,7 @@ run on CI looks like this:
* Book documentation tests - code snippets (Rust ones at least) in the book
documentation ([the `docs`
folder](https://github.com/bytecodealliance/wasmtime/tree/master/docs)) are
folder](https://github.com/bytecodealliance/wasmtime/tree/main/docs)) are
tested on CI to ensure they are working.
* Crate tests - the moral equivalent of `cargo test --all` and `cargo test --all
@@ -78,7 +78,7 @@ builder](https://github.com/bytecodealliance/wasmtime/runs/488719677?check_suite
you can see the artifacts link in the top right. Note that artifacts don't
become available until the whole run finishes.
Commits merged into the master branch will rerun CI and will also produce
artifacts as usual. On the master branch, however, documentation is pushed to
Commits merged into the `main` branch will rerun CI and will also produce
artifacts as usual. On the `main` branch, however, documentation is pushed to
the `gh-pages` branch as well, and binaries are pushed to the `dev` release on
GitHub. Finally, tagged commits get a whole dedicated release to them too.

View File

@@ -34,5 +34,5 @@ fuzz`](https://rust-fuzz.github.io/book/cargo-fuzz.html). They are defined in
the `fuzz` subdirectory.
See
[`fuzz/README.md`](https://github.com/bytecodealliance/wasmtime/blob/master/fuzz/README.md)
[`fuzz/README.md`](https://github.com/bytecodealliance/wasmtime/blob/main/fuzz/README.md)
for details on how to run these fuzz targets and set up a corpus of seed inputs.

View File

@@ -3,7 +3,7 @@
You can also [browse this source code online][code] and clone the wasmtime
repository to run the example locally.
[code]: https://github.com/bytecodealliance/wasmtime/blob/master/examples/fib-debug/main.c
[code]: https://github.com/bytecodealliance/wasmtime/blob/main/examples/fib-debug/main.c
This example shows off how to set up a module for dynamic runtime debugging via
a native debugger like GDB or LLDB.

View File

@@ -8,5 +8,5 @@ themselves one day.
[proposal]: https://github.com/webassembly/wasm-c-api
[`wasm.h`]: https://github.com/WebAssembly/wasm-c-api/blob/master/include/wasm.h
[`wasi.h`]: https://github.com/bytecodealliance/wasmtime/blob/master/crates/c-api/include/wasi.h
[`wasmtime.h`]: https://github.com/bytecodealliance/wasmtime/blob/master/crates/c-api/include/wasmtime.h
[`wasi.h`]: https://github.com/bytecodealliance/wasmtime/blob/main/crates/c-api/include/wasi.h
[`wasmtime.h`]: https://github.com/bytecodealliance/wasmtime/blob/main/crates/c-api/include/wasmtime.h

View File

@@ -3,7 +3,7 @@
You can also [browse this source code online][code] and clone the wasmtime
repository to run the example locally.
[code]: https://github.com/bytecodealliance/wasmtime/blob/master/examples/gcd.c
[code]: https://github.com/bytecodealliance/wasmtime/blob/main/examples/gcd.c
This example shows off how run a wasm program which calculates the GCD of two
numbers.

View File

@@ -3,7 +3,7 @@
You can also [browse this source code online][code] and clone the wasmtime
repository to run the example locally.
[code]: https://github.com/bytecodealliance/wasmtime/blob/master/examples/hello.c
[code]: https://github.com/bytecodealliance/wasmtime/blob/main/examples/hello.c
This example shows off how to instantiate a simple wasm module and interact with
it.

View File

@@ -3,7 +3,7 @@
You can also [browse this source code online][code] and clone the wasmtime
repository to run the example locally.
[code]: https://github.com/bytecodealliance/wasmtime/blob/master/examples/linking.c
[code]: https://github.com/bytecodealliance/wasmtime/blob/main/examples/linking.c
This example shows off how to compile and instantiate modules which link
together.

View File

@@ -3,7 +3,7 @@
You can also [browse this source code online][code] and clone the wasmtime
repository to run the example locally.
[code]: https://github.com/bytecodealliance/wasmtime/blob/master/examples/memory.c
[code]: https://github.com/bytecodealliance/wasmtime/blob/main/examples/memory.c
This example shows off how to interact with wasm memory in a module. Be sure to
read the documentation for [`Memory`] as well.

View File

@@ -3,7 +3,7 @@
You can also [browse this source code online][code] and clone the wasmtime
repository to run the example locally.
[code]: https://github.com/bytecodealliance/wasmtime/blob/master/examples/multi.c
[code]: https://github.com/bytecodealliance/wasmtime/blob/main/examples/multi.c
This example shows off how to interact with a wasm module that uses multi-value
exports and imports.

View File

@@ -3,7 +3,7 @@
You can also [browse this source code online][code] and clone the wasmtime
repository to run the example locally.
[code]: https://github.com/bytecodealliance/wasmtime/blob/master/examples/wasi/main.c
[code]: https://github.com/bytecodealliance/wasmtime/blob/main/examples/wasi/main.c
This example shows off how to instantiate a wasm module using WASI imports.

View File

@@ -3,7 +3,7 @@
You can also [browse this source code online][code] and clone the wasmtime
repository to run the example locally.
[code]: https://github.com/bytecodealliance/wasmtime/blob/master/examples/fib-debug/main.rs
[code]: https://github.com/bytecodealliance/wasmtime/blob/main/examples/fib-debug/main.rs
This example shows off how to set up a module for dynamic runtime debugging via
a native debugger like GDB or LLDB.

View File

@@ -3,7 +3,7 @@
You can also [browse this source code online][code] and clone the wasmtime
repository to run the example locally.
[code]: https://github.com/bytecodealliance/wasmtime/blob/master/examples/gcd.rs
[code]: https://github.com/bytecodealliance/wasmtime/blob/main/examples/gcd.rs
This example shows off how run a wasm program which calculates the GCD of two
numbers.

View File

@@ -3,7 +3,7 @@
You can also [browse this source code online][code] and clone the wasmtime
repository to run the example locally.
[code]: https://github.com/bytecodealliance/wasmtime/blob/master/examples/hello.rs
[code]: https://github.com/bytecodealliance/wasmtime/blob/main/examples/hello.rs
This example shows off how to instantiate a simple wasm module and interact with
it.

View File

@@ -3,7 +3,7 @@
You can also [browse this source code online][code] and clone the wasmtime
repository to run the example locally.
[code]: https://github.com/bytecodealliance/wasmtime/blob/master/examples/linking.rs
[code]: https://github.com/bytecodealliance/wasmtime/blob/main/examples/linking.rs
This example shows off how to compile and instantiate modules which link
together.

View File

@@ -3,7 +3,7 @@
You can also [browse this source code online][code] and clone the wasmtime
repository to run the example locally.
[code]: https://github.com/bytecodealliance/wasmtime/blob/master/examples/memory.rs
[code]: https://github.com/bytecodealliance/wasmtime/blob/main/examples/memory.rs
This example shows off how to interact with wasm memory in a module. Be sure to
read the documentation for [`Memory`] as well.

View File

@@ -3,7 +3,7 @@
You can also [browse this source code online][code] and clone the wasmtime
repository to run the example locally.
[code]: https://github.com/bytecodealliance/wasmtime/blob/master/examples/multi.rs
[code]: https://github.com/bytecodealliance/wasmtime/blob/main/examples/multi.rs
This example shows off how to interact with a wasm module that uses multi-value
exports and imports.

View File

@@ -3,7 +3,7 @@
You can also [browse this source code online][code] and clone the wasmtime
repository to run the example locally.
[code]: https://github.com/bytecodealliance/wasmtime/blob/master/examples/wasi/main.rs
[code]: https://github.com/bytecodealliance/wasmtime/blob/main/examples/wasi/main.rs
This example shows off how to instantiate a wasm module using WASI imports.

View File

@@ -18,7 +18,7 @@ This guide is intended to server a number of purposes and within you'll find:
Wasmtime.
... and more! The source for this guide [lives on
GitHub](https://github.com/bytecodealliance/wasmtime/tree/master/docs) and
GitHub](https://github.com/bytecodealliance/wasmtime/tree/main/docs) and
contributions are welcome!
[github]: https://github.com/bytecodealliance/wasmtime

View File

@@ -77,7 +77,7 @@ WebAssembly code in .NET!
The [.NET embedding of Wasmtime repository](https://github.com/bytecodealliance/wasmtime-dotnet)
contains the source code for the Wasmtime NuGet package.
The repository also has more [examples](https://github.com/bytecodealliance/wasmtime-dotnet/tree/master/examples)
The repository also has more [examples](https://github.com/bytecodealliance/wasmtime-dotnet/tree/main/examples)
as well.
Feel free to browse those, but if you find anything missing don't

View File

@@ -69,7 +69,7 @@ print("gcd(27, 6) =", gcd(27, 6))
The `wasmtime` Python package currently [lives in its own repository outside of
`wasmtime`](https://github.com/bytecodealliance/wasmtime-py) and has a [number
of other more advanced
examples](https://github.com/bytecodealliance/wasmtime-py/tree/master/examples)
examples](https://github.com/bytecodealliance/wasmtime-py/tree/main/examples)
as well. Feel free to browse those, but if you find anything missing don't
hesitate to [open an
issue](https://github.com/bytecodealliance/wasmtime-py/issues/new) and let us

View File

@@ -46,7 +46,7 @@ It can also be packaged using a `package.json` file:
You can also [browse this source code online][code] and clone the wasmtime
repository to run the example locally.
[code]: https://github.com/bytecodealliance/wasmtime/blob/master/docs/assemblyscript-hello-world
[code]: https://github.com/bytecodealliance/wasmtime/blob/main/docs/assemblyscript-hello-world
[AssemblyScript]: https://assemblyscript.org
[as-wasi]: https://github.com/jedisct1/as-wasi
[half runtime]: https://docs.assemblyscript.org/details/runtime#runtime-variants