diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md
index 96866a36764..7339c701025 100644
--- a/.github/pull_request_template.md
+++ b/.github/pull_request_template.md
@@ -1,6 +1,6 @@
diff --git a/.github/workflows/benchmark.yaml b/.github/workflows/benchmark.yaml
index ae78b55d46c..77fd27fad4d 100644
--- a/.github/workflows/benchmark.yaml
+++ b/.github/workflows/benchmark.yaml
@@ -3,7 +3,7 @@ name: Run Benchmarks and upload results
on:
push:
branches:
- - benchmark # TODO: change it back to master once we really track the results. We commented this as speed.wasmer.io is failing
+ - benchmark # TODO: change it back to main once we really track the results. We commented this as speed.wasmer.io is failing
env:
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: git
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index a46e46f525f..70457dd92b4 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -8,7 +8,7 @@ env:
on:
push:
branches:
- - 'master'
+ - 'main'
tags:
# this is _not_ a regex, see: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet
- '[0-9]+.[0-9]+.[0-9]+*'
diff --git a/.github/workflows/check-public-api.yaml b/.github/workflows/check-public-api.yaml
index fe2ff30009a..fc47e79c5e0 100644
--- a/.github/workflows/check-public-api.yaml
+++ b/.github/workflows/check-public-api.yaml
@@ -35,7 +35,7 @@ jobs:
cargo install cargo-public-api
CARGO_LATEST_VERSION = git tag --list | tail -n 1
LATEST_VERSION=${INPUT_COMPAREMASTERWITHVERSION:=$CARGO_LATEST_VERSION}
- cargo public-api --manifest-path=lib/api/Cargo.toml --diff-git-checkouts $LATEST_VERSION master > diff.txt
+ cargo public-api --manifest-path=lib/api/Cargo.toml --diff-git-checkouts $LATEST_VERSION main > diff.txt
- name: Archive change report
uses: actions/upload-artifact@v3
diff --git a/.github/workflows/documentation.yaml b/.github/workflows/documentation.yaml
index c13e09d9b77..59f6e5b5f4b 100644
--- a/.github/workflows/documentation.yaml
+++ b/.github/workflows/documentation.yaml
@@ -3,7 +3,7 @@ name: Documentation
on:
push:
branches:
- - 'master'
+ - 'main'
paths:
- 'lib/**'
diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml
index a2e21134152..3cdf2157c5b 100644
--- a/.github/workflows/test.yaml
+++ b/.github/workflows/test.yaml
@@ -3,7 +3,7 @@ name: test-sys
on:
push:
branches:
- - master
+ - main
- 'with-ci-.*'
- 'v3.0.x'
- 'v3.1.x'
diff --git a/.github/workflows/wasmer-config.yaml b/.github/workflows/wasmer-config.yaml
index 6d1b30fc953..9091574b1e3 100644
--- a/.github/workflows/wasmer-config.yaml
+++ b/.github/workflows/wasmer-config.yaml
@@ -4,7 +4,7 @@ name: wasmer-config
on:
push:
branches:
- - master
+ - main
pull_request:
# Automatically cancel previous workflow runs when a new commit is pushed.
diff --git a/CHANGELOG.md b/CHANGELOG.md
index ed22dcab966..078d502f1fc 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1922,7 +1922,7 @@ Special thanks to @YaronWittenstein @penberg for their contributions.
- [#352](https://github.com/wasmerio/wasmer/pull/352) Bump version numbers to 0.3.0
- [#351](https://github.com/wasmerio/wasmer/pull/351) Add hidden option to specify wasm program name (can be used to improve error messages)
- [#350](https://github.com/wasmerio/wasmer/pull/350) Enforce that CHANGELOG.md is updated through CI.
-- [#349](https://github.com/wasmerio/wasmer/pull/349) Add [CHANGELOG.md](https://github.com/wasmerio/wasmer/blob/master/CHANGELOG.md).
+- [#349](https://github.com/wasmerio/wasmer/pull/349) Add [CHANGELOG.md](https://github.com/wasmerio/wasmer/blob/main/CHANGELOG.md).
## 0.3.0 - 2019-04-12
diff --git a/README.md b/README.md
index 31aad977f35..5fbd03dccfb 100644
--- a/README.md
+++ b/README.md
@@ -10,7 +10,7 @@
-
+
@@ -76,7 +76,7 @@ curl https://get.wasmer.io -sSfL | sh
_Note: All the available
features are described in the [`wasmer-cli`
- crate docs](https://github.com/wasmerio/wasmer/tree/master/lib/cli/README.md)_
+ crate docs](https://github.com/wasmerio/wasmer/tree/main/lib/cli/README.md)_
```sh
cargo install wasmer-cli
@@ -148,15 +148,15 @@ languages** with the Wasmer SDK:
[👋 Missing a language?](https://github.com/wasmerio/wasmer/issues/new?assignees=&labels=%F0%9F%8E%89+enhancement&template=---feature-request.md&title=)
[rust logo]: https://raw.githubusercontent.com/wasmerio/wasmer/master/assets/languages/rust.svg
-[rust integration]: https://github.com/wasmerio/wasmer/tree/master/lib/api
+[rust integration]: https://github.com/wasmerio/wasmer/tree/main/lib/api
[`wasmer` rust crate]: https://crates.io/crates/wasmer/
[rust docs]: https://docs.rs/wasmer/
[c logo]: https://raw.githubusercontent.com/wasmerio/wasmer/master/assets/languages/c.svg
-[c integration]: https://github.com/wasmerio/wasmer/tree/master/lib/c-api
-[`wasm.h` header]: https://github.com/wasmerio/wasmer/blob/master/lib/c-api/tests/wasm-c-api/include/wasm.h
+[c integration]: https://github.com/wasmerio/wasmer/tree/main/lib/c-api
+[`wasm.h` header]: https://github.com/wasmerio/wasmer/blob/main/lib/c-api/tests/wasm-c-api/include/wasm.h
[c docs]: https://docs.rs/wasmer-c-api/*/wasmer/wasm_c_api/index.html
[c++ logo]: https://raw.githubusercontent.com/wasmerio/wasmer/master/assets/languages/cpp.svg
-[`wasm.hh` header]: https://github.com/wasmerio/wasmer/blob/master/lib/c-api/tests/wasm-c-api/include/wasm.hh
+[`wasm.hh` header]: https://github.com/wasmerio/wasmer/blob/main/lib/c-api/tests/wasm-c-api/include/wasm.hh
[c# logo]: https://raw.githubusercontent.com/wasmerio/wasmer/master/assets/languages/csharp.svg
[c# integration]: https://github.com/migueldeicaza/WasmerSharp
[`wasmersharp` nuget package]: https://www.nuget.org/packages/WasmerSharp/
@@ -250,10 +250,10 @@ Wasmer has an amazing community of developers and contributors. Welcome, please
--------
> _README also in:
-> [🇨🇳 中 文 -Chinese](https://github.com/wasmerio/wasmer/blob/master/docs/cn/README.md) •
-> [🇩🇪 Deutsch-German](https://github.com/wasmerio/wasmer/blob/master/docs/de/README.md) •
-> [🇪🇸 Español-Spanish](https://github.com/wasmerio/wasmer/blob/master/docs/es/README.md) •
-> [🇫🇷 Français-French](https://github.com/wasmerio/wasmer/blob/master/docs/fr/README.md) •
-> [🇯🇵 日本 語 -Japanese](https://github.com/wasmerio/wasmer/blob/master/docs/ja/README.md) •
-> [🇰🇷 한국어 -Korean](https://github.com/wasmerio/wasmer/blob/master/docs/ko/README.md)_.
+> [🇨🇳 中 文 -Chinese](https://github.com/wasmerio/wasmer/blob/main/docs/cn/README.md) •
+> [🇩🇪 Deutsch-German](https://github.com/wasmerio/wasmer/blob/main/docs/de/README.md) •
+> [🇪🇸 Español-Spanish](https://github.com/wasmerio/wasmer/blob/main/docs/es/README.md) •
+> [🇫🇷 Français-French](https://github.com/wasmerio/wasmer/blob/main/docs/fr/README.md) •
+> [🇯🇵 日本 語 -Japanese](https://github.com/wasmerio/wasmer/blob/main/docs/ja/README.md) •
+> [🇰🇷 한국어 -Korean](https://github.com/wasmerio/wasmer/blob/main/docs/ko/README.md)_.
diff --git a/docs/README.md b/docs/README.md
index 18ac2c301b1..faea0b65d62 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -3,7 +3,7 @@
Wasmer provides multiple documentations. Here are some pointers:
* [The Wasmer runtime
- `README.md`](https://github.com/wasmerio/wasmer/blob/master/README.md)
+ `README.md`](https://github.com/wasmerio/wasmer/blob/main/README.md)
is a good start for the first steps, like installations, first runs etc.,
* [The public documentation](https://docs.wasmer.io/) contains all the
documentation you need to learn about Wasmer and WebAssembly,
@@ -11,14 +11,14 @@ Wasmer provides multiple documentations. Here are some pointers:
contain all the documentations to use the `wasmer-*` Rust crates,
with many examples,
* [The collection of
- examples](https://github.com/wasmerio/wasmer/blob/master/examples/README.md)
+ examples](https://github.com/wasmerio/wasmer/blob/main/examples/README.md)
illustrates how to use Wasmer and its numerous features through very
commented examples,
* [Documentations for all embeddings/language
- integrations](https://github.com/wasmerio/wasmer/blob/master/README.md):
+ integrations](https://github.com/wasmerio/wasmer/blob/main/README.md):
the Wasmer runtime can be embedded in various languages or
environments, each embedding provides its own documentation, book
etc.,
* [OS distro packaging
- notes](https://github.com/wasmerio/wasmer/blob/master/PACKAGING.md)
+ notes](https://github.com/wasmerio/wasmer/blob/main/PACKAGING.md)
contains notes about how to package Wasmer for OS distributions.
diff --git a/docs/cn/README.md b/docs/cn/README.md
index f2cf5475288..a958dc95fd7 100644
--- a/docs/cn/README.md
+++ b/docs/cn/README.md
@@ -7,7 +7,7 @@
-
+
@@ -32,7 +32,7 @@
[Wasmer](https://wasmer.io/) 提供基于 [WebAssembly](https://webassembly.org/) 的超轻量级容器,其可以在任何地方运行:从桌面到云、以及 IoT 设备,并且也能嵌入到 [*任何编程语言*](https://github.com/wasmerio/wasmer#language-integrations) 中.
-> 其他语言的 Readme: [🇩🇪 Deutsch-德語](https://github.com/wasmerio/wasmer/blob/master/docs/de/README.md) • [🇬🇧 English-英文](https://github.com/wasmerio/wasmer/blob/master/README.md) • [🇪🇸 Español-西班牙语](https://github.com/wasmerio/wasmer/blob/master/docs/es/README.md) • [🇫🇷 Français-法语](https://github.com/wasmerio/wasmer/blob/master/docs/fr/README.md) • [🇯🇵 日本語-日文](https://github.com/wasmerio/wasmer/blob/master/docs/ja/README.md).
+> 其他语言的 Readme: [🇩🇪 Deutsch-德語](https://github.com/wasmerio/wasmer/blob/main/docs/de/README.md) • [🇬🇧 English-英文](https://github.com/wasmerio/wasmer/blob/main/README.md) • [🇪🇸 Español-西班牙语](https://github.com/wasmerio/wasmer/blob/main/docs/es/README.md) • [🇫🇷 Français-法语](https://github.com/wasmerio/wasmer/blob/main/docs/fr/README.md) • [🇯🇵 日本語-日文](https://github.com/wasmerio/wasmer/blob/main/docs/ja/README.md).
## 特性
@@ -113,12 +113,12 @@ hello 3
[👋 缺少语言?](https://github.com/wasmerio/wasmer/issues/new?assignees=&labels=%F0%9F%8E%89+enhancement&template=---feature-request.md&title=)
[rust logo]: https://raw.githubusercontent.com/wasmerio/wasmer/master/assets/languages/rust.svg
-[rust integration]: https://github.com/wasmerio/wasmer/tree/master/lib/api
+[rust integration]: https://github.com/wasmerio/wasmer/tree/main/lib/api
[`wasmer` rust crate]: https://crates.io/crates/wasmer/
[rust docs]: https://docs.rs/wasmer/
[c logo]: https://raw.githubusercontent.com/wasmerio/wasmer/master/assets/languages/c.svg
-[c integration]: https://github.com/wasmerio/wasmer/tree/master/lib/c-api
+[c integration]: https://github.com/wasmerio/wasmer/tree/main/lib/c-api
[`wasmer.h` headers]: https://wasmerio.github.io/wasmer/c/
[c docs]: https://docs.rs/wasmer-c-api/*/wasmer/wasm_c_api/index.html
diff --git a/docs/de/README.md b/docs/de/README.md
index da66f04ec40..5d1f8b54f17 100644
--- a/docs/de/README.md
+++ b/docs/de/README.md
@@ -7,7 +7,7 @@
-
+
@@ -25,11 +25,11 @@ Wasmer ist eine _schnelle_ und _sichere_ [**WebAssembly**](https://webassembly.o
_schlanken Containern_ überall ermöglicht: auf dem *Desktop* in der *Cloud*, so wie auf *Edge* und *IoT* Geräten.
> _Die README ist auch in folgenden Sprachen verfügbar:
-[🇨🇳 中文-Chinesisch](https://github.com/wasmerio/wasmer/blob/master/docs/cn/README.md) •
-[🇬🇧 English-Englisch](https://github.com/wasmerio/wasmer/blob/master/README.md) •
-[🇪🇸 Español-Spanisch](https://github.com/wasmerio/wasmer/blob/master/docs/es/README.md) •
-[🇫🇷 Français-Französisch](https://github.com/wasmerio/wasmer/blob/master/docs/fr/README.md) •
-[🇯🇵 日本語-Japanisch](https://github.com/wasmerio/wasmer/blob/master/docs/ja/README.md)_.
+[🇨🇳 中文-Chinesisch](https://github.com/wasmerio/wasmer/blob/main/docs/cn/README.md) •
+[🇬🇧 English-Englisch](https://github.com/wasmerio/wasmer/blob/main/README.md) •
+[🇪🇸 Español-Spanisch](https://github.com/wasmerio/wasmer/blob/main/docs/es/README.md) •
+[🇫🇷 Français-Französisch](https://github.com/wasmerio/wasmer/blob/main/docs/fr/README.md) •
+[🇯🇵 日本語-Japanisch](https://github.com/wasmerio/wasmer/blob/main/docs/ja/README.md)_.
### Leistungsmerkmale
@@ -80,7 +80,7 @@ curl https://get.wasmer.io -sSfL | sh
_Note: All the available
features are described in the [`wasmer-cli`
- crate docs](https://github.com/wasmerio/wasmer/tree/master/lib/cli/README.md)_
+ crate docs](https://github.com/wasmerio/wasmer/tree/main/lib/cli/README.md)_
```sh
cargo install wasmer-cli
@@ -138,13 +138,13 @@ Sprachen** verwendet werden, so dass Sie WebAssembly _überall_ einsetzen könne
[👋 Fehlt eine Sprache?](https://github.com/wasmerio/wasmer/issues/new?assignees=&labels=%F0%9F%8E%89+enhancement&template=---feature-request.md&title=)
[rust logo]: https://raw.githubusercontent.com/wasmerio/wasmer/master/assets/languages/rust.svg
-[rust integration]: https://github.com/wasmerio/wasmer/tree/master/lib/api
+[rust integration]: https://github.com/wasmerio/wasmer/tree/main/lib/api
[`wasmer` rust crate]: https://crates.io/crates/wasmer/
[rust docs]: https://wasmerio.github.io/wasmer/crates/wasmer
[c logo]: https://raw.githubusercontent.com/wasmerio/wasmer/master/assets/languages/c.svg
-[c integration]: https://github.com/wasmerio/wasmer/tree/master/lib/c-api
-[`wasmer.h` header]: https://github.com/wasmerio/wasmer/blob/master/lib/c-api/wasmer.h
+[c integration]: https://github.com/wasmerio/wasmer/tree/main/lib/c-api
+[`wasmer.h` header]: https://github.com/wasmerio/wasmer/blob/main/lib/c-api/wasmer.h
[c docs]: https://wasmerio.github.io/wasmer/crates/wasmer_c_api
[c# logo]: https://raw.githubusercontent.com/wasmerio/wasmer/master/assets/languages/csharp.svg
diff --git a/docs/es/README.md b/docs/es/README.md
index 34fbafc6b63..360a4be06de 100644
--- a/docs/es/README.md
+++ b/docs/es/README.md
@@ -7,7 +7,7 @@
-
+
@@ -29,7 +29,7 @@
[Wasmer](https://wasmer.io/) hace posible tener contenedores ultraligeros basados en [WebAssembly](https://webassembly.org/) que pueden ser ejecutados en cualquier sitio: desde tu ordenador hasta la nube y dispositivos de IoT, además de poder ser ejecutados [*en cualquier lenguaje de programación*](https://github.com/wasmerio/wasmer#language-integrations).
-> This README is also available in: [🇩🇪 Deutsch-Alemán](https://github.com/wasmerio/wasmer/blob/master/docs/de/README.md) • [🇬🇧 English-Inglés](https://github.com/wasmerio/wasmer/blob/master/README.md) • [🇫🇷 Français-Francés](https://github.com/wasmerio/wasmer/blob/master/docs/fr/README.md) • [🇨🇳 中文-Chino](https://github.com/wasmerio/wasmer/blob/master/docs/cn/README.md) • [🇯🇵 日本語-japonés](https://github.com/wasmerio/wasmer/blob/master/docs/ja/README.md).
+> This README is also available in: [🇩🇪 Deutsch-Alemán](https://github.com/wasmerio/wasmer/blob/main/docs/de/README.md) • [🇬🇧 English-Inglés](https://github.com/wasmerio/wasmer/blob/main/README.md) • [🇫🇷 Français-Francés](https://github.com/wasmerio/wasmer/blob/main/docs/fr/README.md) • [🇨🇳 中文-Chino](https://github.com/wasmerio/wasmer/blob/main/docs/cn/README.md) • [🇯🇵 日本語-japonés](https://github.com/wasmerio/wasmer/blob/main/docs/ja/README.md).
## Funcionalidades
@@ -107,12 +107,12 @@ qjs >
[👋 Falta algún lenguaje?](https://github.com/wasmerio/wasmer/issues/new?assignees=&labels=%F0%9F%8E%89+enhancement&template=---feature-request.md&title=)
[rust logo]: https://raw.githubusercontent.com/wasmerio/wasmer/master/assets/languages/rust.svg
-[rust integration]: https://github.com/wasmerio/wasmer/tree/master/lib/api
+[rust integration]: https://github.com/wasmerio/wasmer/tree/main/lib/api
[`wasmer` en crates.io]: https://crates.io/crates/wasmer/
[rust docs]: https://wasmerio.github.io/wasmer/crates/wasmer
[c logo]: https://raw.githubusercontent.com/wasmerio/wasmer/master/assets/languages/c.svg
-[c integration]: https://github.com/wasmerio/wasmer/tree/master/lib/c-api
+[c integration]: https://github.com/wasmerio/wasmer/tree/main/lib/c-api
[cabecera `wasmer.h`]: https://wasmerio.github.io/wasmer/c/
[c docs]: https://wasmerio.github.io/wasmer/c/
diff --git a/docs/fr/README.md b/docs/fr/README.md
index 409daf17df0..bdcc7a7cb31 100644
--- a/docs/fr/README.md
+++ b/docs/fr/README.md
@@ -7,7 +7,7 @@
-
+
@@ -29,7 +29,7 @@
[Wasmer](https://wasmer.io/) permet l'utilisation de conteneurs super légers basés sur [WebAssembly](https://webassembly.org/) qui peuvent fonctionner n'importe où : du bureau au cloud en passant par les appareils IoT, et également intégrés dans [*une multitude de langages de programmation*](https://github.com/wasmerio/wasmer#language-integrations).
-> This readme is also available in: [🇩🇪 Deutsch-Allemand](https://github.com/wasmerio/wasmer/blob/master/docs/de/README.md) • [🇬🇧 English-Anglaise](https://github.com/wasmerio/wasmer/blob/master/README.md) • [🇪🇸 Español-Espagnol](https://github.com/wasmerio/wasmer/blob/master/docs/es/README.md) • [🇨🇳 中文-Chinoise](https://github.com/wasmerio/wasmer/blob/master/docs/cn/README.md) • [🇯🇵 日本語-japonais](https://github.com/wasmerio/wasmer/blob/master/docs/ja/README.md)
+> This readme is also available in: [🇩🇪 Deutsch-Allemand](https://github.com/wasmerio/wasmer/blob/main/docs/de/README.md) • [🇬🇧 English-Anglaise](https://github.com/wasmerio/wasmer/blob/main/README.md) • [🇪🇸 Español-Espagnol](https://github.com/wasmerio/wasmer/blob/main/docs/es/README.md) • [🇨🇳 中文-Chinoise](https://github.com/wasmerio/wasmer/blob/main/docs/cn/README.md) • [🇯🇵 日本語-japonais](https://github.com/wasmerio/wasmer/blob/main/docs/ja/README.md)
## Fonctionnalités
@@ -107,12 +107,12 @@ qjs >
[👋 Il manque un langage ?](https://github.com/wasmerio/wasmer/issues/new?assignees=&labels=%F0%9F%8E%89+enhancement&template=---feature-request.md&title=)
[rust logo]: https://raw.githubusercontent.com/wasmerio/wasmer/master/assets/languages/rust.svg
-[rust integration]: https://github.com/wasmerio/wasmer/tree/master/lib/api
+[rust integration]: https://github.com/wasmerio/wasmer/tree/main/lib/api
[`wasmer` rust crate]: https://crates.io/crates/wasmer/
[rust docs]: https://wasmerio.github.io/wasmer/crates/wasmer
[c logo]: https://raw.githubusercontent.com/wasmerio/wasmer/master/assets/languages/c.svg
-[c integration]: https://github.com/wasmerio/wasmer/tree/master/lib/c-api
+[c integration]: https://github.com/wasmerio/wasmer/tree/main/lib/c-api
[`wasmer.h` headers]: https://wasmerio.github.io/wasmer/c/
[c docs]: https://wasmerio.github.io/wasmer/c/
diff --git a/docs/ja/README.md b/docs/ja/README.md
index c7110dd5729..1d025e92512 100644
--- a/docs/ja/README.md
+++ b/docs/ja/README.md
@@ -7,7 +7,7 @@
-
+
@@ -29,7 +29,7 @@
[Wasmer](https://wasmer.io/) は、[WebAssembly](https://webassembly.org/) をベースとした非常に軽量なコンテナを実現します。デスクトップからクラウドや IoT デバイス上まで、どんな環境でも実行でき、さらに[*任意のプログラミング言語*](#他の言語とのインテグレーション)に埋め込むこともできます。
-> この readme は、次の言語でも利用可能です。[🇩🇪 Deutsch-ドイツ語](https://github.com/wasmerio/wasmer/blob/master/docs/de/README.md) • [🇨🇳 中文-Chinese](https://github.com/wasmerio/wasmer/blob/master/docs/cn/README.md) • [🇬🇧 English-英語](https://github.com/wasmerio/wasmer/blob/master/README.md) • [🇪🇸 Español-Spanish](https://github.com/wasmerio/wasmer/blob/master/docs/es/README.md) • [🇫🇷 Français-French](https://github.com/wasmerio/wasmer/blob/master/docs/fr/README.md)
+> この readme は、次の言語でも利用可能です。[🇩🇪 Deutsch-ドイツ語](https://github.com/wasmerio/wasmer/blob/main/docs/de/README.md) • [🇨🇳 中文-Chinese](https://github.com/wasmerio/wasmer/blob/main/docs/cn/README.md) • [🇬🇧 English-英語](https://github.com/wasmerio/wasmer/blob/main/README.md) • [🇪🇸 Español-Spanish](https://github.com/wasmerio/wasmer/blob/main/docs/es/README.md) • [🇫🇷 Français-French](https://github.com/wasmerio/wasmer/blob/main/docs/fr/README.md)
## 機能
@@ -107,12 +107,12 @@ qjs >
[👋 言語が見当たらない?](https://github.com/wasmerio/wasmer/issues/new?assignees=&labels=%F0%9F%8E%89+enhancement&template=---feature-request.md&title=)
[rust logo]: https://raw.githubusercontent.com/wasmerio/wasmer/master/assets/languages/rust.svg
-[rust integration]: https://github.com/wasmerio/wasmer/tree/master/lib/api
+[rust integration]: https://github.com/wasmerio/wasmer/tree/main/lib/api
[`wasmer` rust crate]: https://crates.io/crates/wasmer/
[rust docs]: https://wasmerio.github.io/wasmer/crates/wasmer
[c logo]: https://raw.githubusercontent.com/wasmerio/wasmer/master/assets/languages/c.svg
-[c integration]: https://github.com/wasmerio/wasmer/tree/master/lib/c-api
+[c integration]: https://github.com/wasmerio/wasmer/tree/main/lib/c-api
[`wasmer.h` headers]: https://wasmerio.github.io/wasmer/c/
[c docs]: https://wasmerio.github.io/wasmer/c/
diff --git a/docs/ko/README.md b/docs/ko/README.md
index 81843fee5a7..3fda75001b3 100644
--- a/docs/ko/README.md
+++ b/docs/ko/README.md
@@ -7,7 +7,7 @@
-
+
@@ -24,12 +24,12 @@
Wasmer는 _초경량 컨테이너_ 를 *Desktop*에서부터 *Cloud*, *Edge*, *IoT* 기기들까지 어디에서나 실행할 수 있는 _빠르고 안전한_ [**WebAssembly**](https://webassembly.org) 런타임 입니다.
> _이 문서는 아래와 같은 언어들을 지원합니다.:
-[🇨🇳 中 文 -Chinese](https://github.com/wasmerio/wasmer/blob/master/docs/cn/README.md) •
-[🇩🇪 Deutsch-German](https://github.com/wasmerio/wasmer/blob/master/docs/de/README.md) •
-[🇪🇸 Español-Spanish](https://github.com/wasmerio/wasmer/blob/master/docs/es/README.md) •
-[🇫🇷 Français-French](https://github.com/wasmerio/wasmer/blob/master/docs/fr/README.md) •
-[🇯🇵 日本 語 -Japanese](https://github.com/wasmerio/wasmer/blob/master/docs/ja/README.md)_.
-[🇰🇷 한국어 -Korean](https://github.com/wasmerio/wasmer/blob/master/docs/ko/README.md)_.
+[🇨🇳 中 文 -Chinese](https://github.com/wasmerio/wasmer/blob/main/docs/cn/README.md) •
+[🇩🇪 Deutsch-German](https://github.com/wasmerio/wasmer/blob/main/docs/de/README.md) •
+[🇪🇸 Español-Spanish](https://github.com/wasmerio/wasmer/blob/main/docs/es/README.md) •
+[🇫🇷 Français-French](https://github.com/wasmerio/wasmer/blob/main/docs/fr/README.md) •
+[🇯🇵 日本 語 -Japanese](https://github.com/wasmerio/wasmer/blob/main/docs/ja/README.md)_.
+[🇰🇷 한국어 -Korean](https://github.com/wasmerio/wasmer/blob/main/docs/ko/README.md)_.
### 특징
@@ -79,7 +79,7 @@ curl https://get.wasmer.io -sSfL | sh
* Cargo
_Note: 사용 가능한 모든 기능은 [`wasmer-cli`
- crate docs](https://github.com/wasmerio/wasmer/tree/master/lib/cli/README.md) 문서에 설명되어 있습니다._
+ crate docs](https://github.com/wasmerio/wasmer/tree/main/lib/cli/README.md) 문서에 설명되어 있습니다._
```sh
cargo install wasmer-cli
@@ -136,13 +136,13 @@ Wasmer 런타임은 **다른 언어에 내장된** 라이브러리로 사용할
[👋 없는 언어가 있습니까?](https://github.com/wasmerio/wasmer/issues/new?assignees=&labels=%F0%9F%8E%89+enhancement&template=---feature-request.md&title=)
[rust logo]: https://raw.githubusercontent.com/wasmerio/wasmer/master/assets/languages/rust.svg
-[rust integration]: https://github.com/wasmerio/wasmer/tree/master/lib/api
+[rust integration]: https://github.com/wasmerio/wasmer/tree/main/lib/api
[`wasmer` rust crate]: https://crates.io/crates/wasmer/
[rust docs]: https://docs.rs/wasmer/
[c logo]: https://raw.githubusercontent.com/wasmerio/wasmer/master/assets/languages/c.svg
-[c integration]: https://github.com/wasmerio/wasmer/tree/master/lib/c-api
-[`wasmer.h` header]: https://github.com/wasmerio/wasmer/blob/master/lib/c-api/wasmer.h
+[c integration]: https://github.com/wasmerio/wasmer/tree/main/lib/c-api
+[`wasmer.h` header]: https://github.com/wasmerio/wasmer/blob/main/lib/c-api/wasmer.h
[c docs]: https://docs.rs/wasmer-c-api/*/wasmer_c_api/wasm_c_api/index.html
[c# logo]: https://raw.githubusercontent.com/wasmerio/wasmer/master/assets/languages/csharp.svg
diff --git a/examples/README.md b/examples/README.md
index 8502a7dc8b6..aa1a227d2a7 100644
--- a/examples/README.md
+++ b/examples/README.md
@@ -378,8 +378,8 @@ example.
[errors]: ./errors.rs
[tunables-limit-memory]: ./tunables_limit_memory.rs
[features]: ./features.rs
-[`wasmer-compiler-singlepass`]: https://github.com/wasmerio/wasmer/tree/master/lib/compiler-singlepass
-[`wasmer-compiler-cranelift`]: https://github.com/wasmerio/wasmer/tree/master/lib/compiler-cranelift
-[`wasmer-compiler-llvm`]: https://github.com/wasmerio/wasmer/tree/master/lib/compiler-llvm
-[`wasmer-wasi`]: https://github.com/wasmerio/wasmer/tree/master/lib/wasi
+[`wasmer-compiler-singlepass`]: https://github.com/wasmerio/wasmer/tree/main/lib/compiler-singlepass
+[`wasmer-compiler-cranelift`]: https://github.com/wasmerio/wasmer/tree/main/lib/compiler-cranelift
+[`wasmer-compiler-llvm`]: https://github.com/wasmerio/wasmer/tree/main/lib/compiler-llvm
+[`wasmer-wasi`]: https://github.com/wasmerio/wasmer/tree/main/lib/wasi
[WASI]: https://github.com/WebAssembly/WASI
diff --git a/lib/api/README.md b/lib/api/README.md
index 38b4f2839bb..abb66fb3f11 100644
--- a/lib/api/README.md
+++ b/lib/api/README.md
@@ -1,4 +1,4 @@
-# `wasmer` [![Build Status](https://github.com/wasmerio/wasmer/workflows/build/badge.svg?style=flat-square)](https://github.com/wasmerio/wasmer/actions?query=workflow%3Abuild) [![Join Wasmer Slack](https://img.shields.io/static/v1?label=Slack&message=join%20chat&color=brighgreen&style=flat-square)](https://slack.wasmer.io) [![MIT License](https://img.shields.io/github/license/wasmerio/wasmer.svg?style=flat-square)](https://github.com/wasmerio/wasmer/blob/master/LICENSE) [![crates.io](https://img.shields.io/crates/v/wasmer.svg)](https://crates.io/crates/wasmer)
+# `wasmer` [![Build Status](https://github.com/wasmerio/wasmer/workflows/build/badge.svg?style=flat-square)](https://github.com/wasmerio/wasmer/actions?query=workflow%3Abuild) [![Join Wasmer Slack](https://img.shields.io/static/v1?label=Slack&message=join%20chat&color=brighgreen&style=flat-square)](https://slack.wasmer.io) [![MIT License](https://img.shields.io/github/license/wasmerio/wasmer.svg?style=flat-square)](https://github.com/wasmerio/wasmer/blob/main/LICENSE) [![crates.io](https://img.shields.io/crates/v/wasmer.svg)](https://crates.io/crates/wasmer)
[`Wasmer`](https://wasmer.io/) is the most popular
[WebAssembly](https://webassembly.org/) runtime for Rust. It supports
@@ -39,7 +39,7 @@ fn main() -> anyhow::Result<()> {
}
```
-[Discover the full collection of examples](https://github.com/wasmerio/wasmer/tree/master/examples).
+[Discover the full collection of examples](https://github.com/wasmerio/wasmer/tree/main/examples).
## Features
@@ -89,6 +89,6 @@ more](https://wasmerio.github.io/wasmer/crates/doc/wasmer/).
Made with ❤️ by the Wasmer team, for the community
-[`wasmer-compiler-singlepass`]: https://github.com/wasmerio/wasmer/tree/master/lib/compiler-singlepass
-[`wasmer-compiler-cranelift`]: https://github.com/wasmerio/wasmer/tree/master/lib/compiler-cranelift
-[`wasmer-compiler-llvm`]: https://github.com/wasmerio/wasmer/tree/master/lib/compiler-llvm
+[`wasmer-compiler-singlepass`]: https://github.com/wasmerio/wasmer/tree/main/lib/compiler-singlepass
+[`wasmer-compiler-cranelift`]: https://github.com/wasmerio/wasmer/tree/main/lib/compiler-cranelift
+[`wasmer-compiler-llvm`]: https://github.com/wasmerio/wasmer/tree/main/lib/compiler-llvm
diff --git a/lib/api/src/lib.rs b/lib/api/src/lib.rs
index 49eca6e32f7..c1dd8814fdc 100755
--- a/lib/api/src/lib.rs
+++ b/lib/api/src/lib.rs
@@ -61,7 +61,7 @@
//! }
//! ```
//!
-//! [Discover the full collection of examples](https://github.com/wasmerio/wasmer/tree/master/examples).
+//! [Discover the full collection of examples](https://github.com/wasmerio/wasmer/tree/main/examples).
//!
//! # Overview of the Features
//!
@@ -380,7 +380,7 @@
//! or `js-default` Cargo features.
//!
//! [wasm]: https://webassembly.org/
-//! [wasmer-examples]: https://github.com/wasmerio/wasmer/tree/master/examples
+//! [wasmer-examples]: https://github.com/wasmerio/wasmer/tree/main/examples
//! [`wasmer-cache`]: https://docs.rs/wasmer-cache/
//! [wasmer-compiler]: https://docs.rs/wasmer-compiler/
//! [`wasmer-emscripten`]: https://docs.rs/wasmer-emscripten/
diff --git a/lib/backend-api/README.md b/lib/backend-api/README.md
index a5c283914c2..f1583b1ae2b 100644
--- a/lib/backend-api/README.md
+++ b/lib/backend-api/README.md
@@ -25,7 +25,7 @@ To update the schema, simply download the latest version and replace the local
file.
It can be retrieved from
-https://github.com/wasmerio/wapm.io-backend/blob/master/backend/graphql/schema.graphql.
+https://github.com/wasmerio/backend/blob/main/backend/graphql/schema.graphql.
### Writing/Updating Queries
diff --git a/lib/c-api/README.md b/lib/c-api/README.md
index 2651ddbb1d5..80488d3969a 100644
--- a/lib/c-api/README.md
+++ b/lib/c-api/README.md
@@ -1,4 +1,4 @@
-# `wasmer-c-api` [![Build Status](https://github.com/wasmerio/wasmer/workflows/build/badge.svg?style=flat-square)](https://github.com/wasmerio/wasmer/actions?query=workflow%3Abuild) [![Join Wasmer Slack](https://img.shields.io/static/v1?label=Slack&message=join%20chat&color=brighgreen&style=flat-square)](https://slack.wasmer.io) [![MIT License](https://img.shields.io/github/license/wasmerio/wasmer.svg?style=flat-square)](https://github.com/wasmerio/wasmer/blob/master/LICENSE)
+# `wasmer-c-api` [![Build Status](https://github.com/wasmerio/wasmer/workflows/build/badge.svg?style=flat-square)](https://github.com/wasmerio/wasmer/actions?query=workflow%3Abuild) [![Join Wasmer Slack](https://img.shields.io/static/v1?label=Slack&message=join%20chat&color=brighgreen&style=flat-square)](https://slack.wasmer.io) [![MIT License](https://img.shields.io/github/license/wasmerio/wasmer.svg?style=flat-square)](https://github.com/wasmerio/wasmer/blob/main/LICENSE)
This crate exposes a C and a C++ API for the Wasmer runtime. It also fully supports the [wasm-c-api common API](https://github.com/WebAssembly/wasm-c-api).
@@ -202,5 +202,5 @@ license][mit-license] ([LICENSE][license]).
[wasmer_h]: ./wasmer.h
[wasmer_hh]: ./wasmer.hh
[mit-license]: http://opensource.org/licenses/MIT
-[license]: https://github.com/wasmerio/wasmer/blob/master/LICENSE
+[license]: https://github.com/wasmerio/wasmer/blob/main/LICENSE
[Wasmer release page]: https://github.com/wasmerio/wasmer/releases
diff --git a/lib/c-api/build.rs b/lib/c-api/build.rs
index 0ae35c7ae1c..6d3d8c25a55 100644
--- a/lib/c-api/build.rs
+++ b/lib/c-api/build.rs
@@ -135,7 +135,7 @@ fn build_wasm_c_api_headers(crate_dir: &str, out_dir: &str) {
// within the [`wasmer-c-api`] Rust crate.
//
// [`wasm-c-api`]: https://github.com/WebAssembly/wasm-c-api
-// [`wasmer-c-api`]: https://github.com/wasmerio/wasmer/tree/master/lib/c-api
+// [`wasmer-c-api`]: https://github.com/wasmerio/wasmer/tree/main/lib/c-api
// [documentation]: https://wasmerio.github.io/wasmer/crates/wasmer_c_api/
#if !defined(WASMER_H_PRELUDE)
diff --git a/lib/c-api/tests/wasm-c-api/README.md b/lib/c-api/tests/wasm-c-api/README.md
index 1dbcbda9783..7dda4b08cba 100644
--- a/lib/c-api/tests/wasm-c-api/README.md
+++ b/lib/c-api/tests/wasm-c-api/README.md
@@ -94,7 +94,7 @@ Currently, known implementations of this API are included in
* V8 natively (both C and C++)
* Wabt (only C?)
* Wasmtime (only C?)
-* [Wasmer](https://github.com/wasmerio/wasmer/tree/master/lib/c-api) (only C, C++ coming soon)
+* [Wasmer](https://github.com/wasmerio/wasmer/tree/main/lib/c-api) (only C, C++ coming soon)
### TODO
diff --git a/lib/cache/README.md b/lib/cache/README.md
index a80abac103c..fe54d69720e 100644
--- a/lib/cache/README.md
+++ b/lib/cache/README.md
@@ -1,4 +1,4 @@
-# `wasmer-cache` [![Build Status](https://github.com/wasmerio/wasmer/workflows/build/badge.svg?style=flat-square)](https://github.com/wasmerio/wasmer/actions?query=workflow%3Abuild) [![Join Wasmer Slack](https://img.shields.io/static/v1?label=Slack&message=join%20chat&color=brighgreen&style=flat-square)](https://slack.wasmer.io) [![MIT License](https://img.shields.io/github/license/wasmerio/wasmer.svg?style=flat-square)](https://github.com/wasmerio/wasmer/blob/master/LICENSE)
+# `wasmer-cache` [![Build Status](https://github.com/wasmerio/wasmer/workflows/build/badge.svg?style=flat-square)](https://github.com/wasmerio/wasmer/actions?query=workflow%3Abuild) [![Join Wasmer Slack](https://img.shields.io/static/v1?label=Slack&message=join%20chat&color=brighgreen&style=flat-square)](https://slack.wasmer.io) [![MIT License](https://img.shields.io/github/license/wasmerio/wasmer.svg?style=flat-square)](https://github.com/wasmerio/wasmer/blob/main/LICENSE)
The `wasmer-cache` crate allows to cache WebAssembly modules (of kind
`wasmer::Module`) in your system, so that next uses of the module does
diff --git a/lib/cli-compiler/README.md b/lib/cli-compiler/README.md
index 0b53d490287..5fb713d090e 100644
--- a/lib/cli-compiler/README.md
+++ b/lib/cli-compiler/README.md
@@ -1,4 +1,4 @@
-# `wasmer-cli-compiler` [![Build Status](https://github.com/wasmerio/wasmer/workflows/build/badge.svg?style=flat-square)](https://github.com/wasmerio/wasmer/actions?query=workflow%3Abuild) [![Join Wasmer Slack](https://img.shields.io/static/v1?label=Slack&message=join%20chat&color=brighgreen&style=flat-square)](https://slack.wasmer.io) [![MIT License](https://img.shields.io/github/license/wasmerio/wasmer.svg?style=flat-square)](https://github.com/wasmerio/wasmer/blob/master/LICENSE)
+# `wasmer-cli-compiler` [![Build Status](https://github.com/wasmerio/wasmer/workflows/build/badge.svg?style=flat-square)](https://github.com/wasmerio/wasmer/actions?query=workflow%3Abuild) [![Join Wasmer Slack](https://img.shields.io/static/v1?label=Slack&message=join%20chat&color=brighgreen&style=flat-square)](https://slack.wasmer.io) [![MIT License](https://img.shields.io/github/license/wasmerio/wasmer.svg?style=flat-square)](https://github.com/wasmerio/wasmer/blob/main/LICENSE)
This crate is the Wasmer Compiler only CLI.
@@ -10,9 +10,9 @@ The Compiler only Wasmer supports the following features:
* `emscripten` (default): support for [Emscripten].
* `singlepass`: support for the [Singlepass compiler].
-[WASI]: https://github.com/wasmerio/wasmer/tree/master/lib/wasi/
-[Emscripten]: https://github.com/wasmerio/wasmer/tree/master/lib/emscripten/
-[Singlepass compiler]: https://github.com/wasmerio/wasmer/tree/master/lib/compiler-singlepass/
+[WASI]: https://github.com/wasmerio/wasmer/tree/main/lib/wasi/
+[Emscripten]: https://github.com/wasmerio/wasmer/tree/main/lib/emscripten/
+[Singlepass compiler]: https://github.com/wasmerio/wasmer/tree/main/lib/compiler-singlepass/
## CLI commands
diff --git a/lib/cli/README.md b/lib/cli/README.md
index b6c913e3be9..3b5e0e3498d 100644
--- a/lib/cli/README.md
+++ b/lib/cli/README.md
@@ -1,4 +1,4 @@
-# `wasmer-cli` [![Build Status](https://github.com/wasmerio/wasmer/workflows/build/badge.svg?style=flat-square)](https://github.com/wasmerio/wasmer/actions?query=workflow%3Abuild) [![Join Wasmer Slack](https://img.shields.io/static/v1?label=Slack&message=join%20chat&color=brighgreen&style=flat-square)](https://slack.wasmer.io) [![MIT License](https://img.shields.io/github/license/wasmerio/wasmer.svg?style=flat-square)](https://github.com/wasmerio/wasmer/blob/master/LICENSE)
+# `wasmer-cli` [![Build Status](https://github.com/wasmerio/wasmer/workflows/build/badge.svg?style=flat-square)](https://github.com/wasmerio/wasmer/actions?query=workflow%3Abuild) [![Join Wasmer Slack](https://img.shields.io/static/v1?label=Slack&message=join%20chat&color=brighgreen&style=flat-square)](https://slack.wasmer.io) [![MIT License](https://img.shields.io/github/license/wasmerio/wasmer.svg?style=flat-square)](https://github.com/wasmerio/wasmer/blob/main/LICENSE)
This crate is the Wasmer CLI.
@@ -28,11 +28,11 @@ The Wasmer supports the following features:
* `cranelift`: support for the [Cranelift compiler].
* `llvm`: support for the [LLVM compiler].
-[WASI]: https://github.com/wasmerio/wasmer/tree/master/lib/wasi/
-[Emscripten]: https://github.com/wasmerio/wasmer/tree/master/lib/emscripten/
-[Singlepass compiler]: https://github.com/wasmerio/wasmer/tree/master/lib/compiler-singlepass/
-[Cranelift compiler]: https://github.com/wasmerio/wasmer/tree/master/lib/compiler-cranelift/
-[LLVM compiler]: https://github.com/wasmerio/wasmer/tree/master/lib/compiler-llvm/
+[WASI]: https://github.com/wasmerio/wasmer/tree/main/lib/wasi/
+[Emscripten]: https://github.com/wasmerio/wasmer/tree/main/lib/emscripten/
+[Singlepass compiler]: https://github.com/wasmerio/wasmer/tree/main/lib/compiler-singlepass/
+[Cranelift compiler]: https://github.com/wasmerio/wasmer/tree/main/lib/compiler-cranelift/
+[LLVM compiler]: https://github.com/wasmerio/wasmer/tree/main/lib/compiler-llvm/
## CLI commands
diff --git a/lib/compiler-cranelift/README.md b/lib/compiler-cranelift/README.md
index 51e8b92b272..5050505598f 100644
--- a/lib/compiler-cranelift/README.md
+++ b/lib/compiler-cranelift/README.md
@@ -1,4 +1,4 @@
-# `wasmer-compiler-cranelift` [![Build Status](https://github.com/wasmerio/wasmer/workflows/build/badge.svg?style=flat-square)](https://github.com/wasmerio/wasmer/actions?query=workflow%3Abuild) [![Join Wasmer Slack](https://img.shields.io/static/v1?label=Slack&message=join%20chat&color=brighgreen&style=flat-square)](https://slack.wasmer.io) [![MIT License](https://img.shields.io/github/license/wasmerio/wasmer.svg?style=flat-square)](https://github.com/wasmerio/wasmer/blob/master/LICENSE) [![crates.io](https://img.shields.io/crates/v/wasmer-compiler-cranelift.svg)](https://crates.io/crates/wasmer-compiler-cranelift)
+# `wasmer-compiler-cranelift` [![Build Status](https://github.com/wasmerio/wasmer/workflows/build/badge.svg?style=flat-square)](https://github.com/wasmerio/wasmer/actions?query=workflow%3Abuild) [![Join Wasmer Slack](https://img.shields.io/static/v1?label=Slack&message=join%20chat&color=brighgreen&style=flat-square)](https://slack.wasmer.io) [![MIT License](https://img.shields.io/github/license/wasmerio/wasmer.svg?style=flat-square)](https://github.com/wasmerio/wasmer/blob/main/LICENSE) [![crates.io](https://img.shields.io/crates/v/wasmer-compiler-cranelift.svg)](https://crates.io/crates/wasmer-compiler-cranelift)
This crate contains a compiler implementation based on Cranelift.
@@ -30,7 +30,7 @@ Please check [Wasmer `ATTRIBUTIONS`] to further see licenses and other
attributions of the project.
-[example]: https://github.com/wasmerio/wasmer/blob/master/examples/compiler_cranelift.rs
-[`wasmer-compiler-llvm`]: https://github.com/wasmerio/wasmer/tree/master/lib/compiler-llvm
+[example]: https://github.com/wasmerio/wasmer/blob/main/examples/compiler_cranelift.rs
+[`wasmer-compiler-llvm`]: https://github.com/wasmerio/wasmer/tree/main/lib/compiler-llvm
[`cranelift-wasm`]: https://crates.io/crates/cranelift-wasm
-[Wasmer `ATTRIBUTIONS`]: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
+[Wasmer `ATTRIBUTIONS`]: https://github.com/wasmerio/wasmer/blob/main/ATTRIBUTIONS.md
diff --git a/lib/compiler-cranelift/src/address_map.rs b/lib/compiler-cranelift/src/address_map.rs
index 088067cfcd4..14d01a729f3 100644
--- a/lib/compiler-cranelift/src/address_map.rs
+++ b/lib/compiler-cranelift/src/address_map.rs
@@ -1,5 +1,5 @@
// This file contains code from external sources.
-// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
+// Attributions: https://github.com/wasmerio/wasmer/blob/main/ATTRIBUTIONS.md
use cranelift_codegen::Context;
use cranelift_codegen::MachSrcLoc;
diff --git a/lib/compiler-cranelift/src/func_environ.rs b/lib/compiler-cranelift/src/func_environ.rs
index 4a664b50fe3..fc69c55a14b 100644
--- a/lib/compiler-cranelift/src/func_environ.rs
+++ b/lib/compiler-cranelift/src/func_environ.rs
@@ -1,5 +1,5 @@
// This file contains code from external sources.
-// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
+// Attributions: https://github.com/wasmerio/wasmer/blob/main/ATTRIBUTIONS.md
use crate::translator::{
type_to_irtype, FuncEnvironment as BaseFuncEnvironment, GlobalVariable, TargetEnvironment,
diff --git a/lib/compiler-cranelift/src/trampoline/dynamic_function.rs b/lib/compiler-cranelift/src/trampoline/dynamic_function.rs
index f7f84edc324..4d0a05ee0e5 100644
--- a/lib/compiler-cranelift/src/trampoline/dynamic_function.rs
+++ b/lib/compiler-cranelift/src/trampoline/dynamic_function.rs
@@ -1,5 +1,5 @@
// This file contains code from external sources.
-// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
+// Attributions: https://github.com/wasmerio/wasmer/blob/main/ATTRIBUTIONS.md
//! A trampoline generator for calling dynamic host functions from Wasm.
diff --git a/lib/compiler-cranelift/src/trampoline/function_call.rs b/lib/compiler-cranelift/src/trampoline/function_call.rs
index 8d6741d3db4..b9769b6765b 100644
--- a/lib/compiler-cranelift/src/trampoline/function_call.rs
+++ b/lib/compiler-cranelift/src/trampoline/function_call.rs
@@ -1,5 +1,5 @@
// This file contains code from external sources.
-// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
+// Attributions: https://github.com/wasmerio/wasmer/blob/main/ATTRIBUTIONS.md
//! A trampoline generator for calling Wasm functions easily.
//!
diff --git a/lib/compiler-cranelift/src/translator/code_translator.rs b/lib/compiler-cranelift/src/translator/code_translator.rs
index 1de3e352fec..5ec96f4c1ad 100644
--- a/lib/compiler-cranelift/src/translator/code_translator.rs
+++ b/lib/compiler-cranelift/src/translator/code_translator.rs
@@ -1,5 +1,5 @@
// This file contains code from external sources.
-// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
+// Attributions: https://github.com/wasmerio/wasmer/blob/main/ATTRIBUTIONS.md
//! This module contains the bulk of the interesting code performing the translation between
//! WebAssembly bytecode and Cranelift IR.
diff --git a/lib/compiler-cranelift/src/translator/func_environ.rs b/lib/compiler-cranelift/src/translator/func_environ.rs
index 0f6215ff037..16fcbc48fa4 100644
--- a/lib/compiler-cranelift/src/translator/func_environ.rs
+++ b/lib/compiler-cranelift/src/translator/func_environ.rs
@@ -1,5 +1,5 @@
// This file contains code from external sources.
-// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
+// Attributions: https://github.com/wasmerio/wasmer/blob/main/ATTRIBUTIONS.md
//! All the runtime support necessary for the wasm to cranelift translation is formalized by the
//! traits `FunctionEnvMutironment`.
diff --git a/lib/compiler-cranelift/src/translator/func_state.rs b/lib/compiler-cranelift/src/translator/func_state.rs
index 1be298fb5f6..8303c7f5b39 100644
--- a/lib/compiler-cranelift/src/translator/func_state.rs
+++ b/lib/compiler-cranelift/src/translator/func_state.rs
@@ -1,5 +1,5 @@
// This file contains code from external sources.
-// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
+// Attributions: https://github.com/wasmerio/wasmer/blob/main/ATTRIBUTIONS.md
//! WebAssembly module and function translation state.
//!
diff --git a/lib/compiler-cranelift/src/translator/func_translator.rs b/lib/compiler-cranelift/src/translator/func_translator.rs
index 8c6fa89950c..40b2bc71adb 100644
--- a/lib/compiler-cranelift/src/translator/func_translator.rs
+++ b/lib/compiler-cranelift/src/translator/func_translator.rs
@@ -1,5 +1,5 @@
// This file contains code from external sources.
-// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
+// Attributions: https://github.com/wasmerio/wasmer/blob/main/ATTRIBUTIONS.md
//! Standalone WebAssembly to Cranelift IR translator.
//!
diff --git a/lib/compiler-llvm/README.md b/lib/compiler-llvm/README.md
index a8778e8bf83..e425852aff0 100644
--- a/lib/compiler-llvm/README.md
+++ b/lib/compiler-llvm/README.md
@@ -1,4 +1,4 @@
-# `wasmer-compiler-llvm` [![Build Status](https://github.com/wasmerio/wasmer/workflows/build/badge.svg?style=flat-square)](https://github.com/wasmerio/wasmer/actions?query=workflow%3Abuild) [![Join Wasmer Slack](https://img.shields.io/static/v1?label=Slack&message=join%20chat&color=brighgreen&style=flat-square)](https://slack.wasmer.io) [![MIT License](https://img.shields.io/github/license/wasmerio/wasmer.svg?style=flat-square)](https://github.com/wasmerio/wasmer/blob/master/LICENSE) [![crates.io](https://img.shields.io/crates/v/wasmer-compiler-llvm.svg)](https://crates.io/crates/wasmer-compiler-llvm)
+# `wasmer-compiler-llvm` [![Build Status](https://github.com/wasmerio/wasmer/workflows/build/badge.svg?style=flat-square)](https://github.com/wasmerio/wasmer/actions?query=workflow%3Abuild) [![Join Wasmer Slack](https://img.shields.io/static/v1?label=Slack&message=join%20chat&color=brighgreen&style=flat-square)](https://slack.wasmer.io) [![MIT License](https://img.shields.io/github/license/wasmerio/wasmer.svg?style=flat-square)](https://github.com/wasmerio/wasmer/blob/main/LICENSE) [![crates.io](https://img.shields.io/crates/v/wasmer-compiler-llvm.svg)](https://crates.io/crates/wasmer-compiler-llvm)
This crate contains a compiler implementation based on [the LLVM Compiler Infrastructure][LLVM].
@@ -43,5 +43,5 @@ Or via any of the [pre-built binaries that LLVM offers][llvm-pre-built].
[LLVM]: https://llvm.org/
-[example]: https://github.com/wasmerio/wasmer/blob/master/examples/compiler_llvm.rs
+[example]: https://github.com/wasmerio/wasmer/blob/main/examples/compiler_llvm.rs
[llvm-pre-built]: https://releases.llvm.org/download.html
diff --git a/lib/compiler-singlepass/README.md b/lib/compiler-singlepass/README.md
index 6b788772a43..ac49824fda1 100644
--- a/lib/compiler-singlepass/README.md
+++ b/lib/compiler-singlepass/README.md
@@ -1,4 +1,4 @@
-# `wasmer-compiler-singlepass` [![Build Status](https://github.com/wasmerio/wasmer/workflows/build/badge.svg?style=flat-square)](https://github.com/wasmerio/wasmer/actions?query=workflow%3Abuild) [![Join Wasmer Slack](https://img.shields.io/static/v1?label=Slack&message=join%20chat&color=brighgreen&style=flat-square)](https://slack.wasmer.io) [![MIT License](https://img.shields.io/github/license/wasmerio/wasmer.svg?style=flat-square)](https://github.com/wasmerio/wasmer/blob/master/LICENSE) [![crates.io](https://img.shields.io/crates/v/wasmer-compiler-singlepass.svg)](https://crates.io/crates/wasmer-compiler-singlepass)
+# `wasmer-compiler-singlepass` [![Build Status](https://github.com/wasmerio/wasmer/workflows/build/badge.svg?style=flat-square)](https://github.com/wasmerio/wasmer/actions?query=workflow%3Abuild) [![Join Wasmer Slack](https://img.shields.io/static/v1?label=Slack&message=join%20chat&color=brighgreen&style=flat-square)](https://slack.wasmer.io) [![MIT License](https://img.shields.io/github/license/wasmerio/wasmer.svg?style=flat-square)](https://github.com/wasmerio/wasmer/blob/main/LICENSE) [![crates.io](https://img.shields.io/crates/v/wasmer-compiler-singlepass.svg)](https://crates.io/crates/wasmer-compiler-singlepass)
This crate contains a compiler implementation based on the Singlepass linear compiler.
@@ -28,6 +28,6 @@ predictable compilation speed makes it ideal for **blockchains** and other
systems where fast and consistent compilation times are very critical.
-[example]: https://github.com/wasmerio/wasmer/blob/master/examples/compiler_singlepass.rs
-[`wasmer-compiler-cranelift`]: https://github.com/wasmerio/wasmer/tree/master/lib/compiler-cranelift
-[`wasmer-compiler-llvm`]: https://github.com/wasmerio/wasmer/tree/master/lib/compiler-llvm
+[example]: https://github.com/wasmerio/wasmer/blob/main/examples/compiler_singlepass.rs
+[`wasmer-compiler-cranelift`]: https://github.com/wasmerio/wasmer/tree/main/lib/compiler-cranelift
+[`wasmer-compiler-llvm`]: https://github.com/wasmerio/wasmer/tree/main/lib/compiler-llvm
diff --git a/lib/compiler/README.md b/lib/compiler/README.md
index ace37ae93b4..e84d21c8280 100644
--- a/lib/compiler/README.md
+++ b/lib/compiler/README.md
@@ -1,4 +1,4 @@
-# `wasmer-compiler` [![Build Status](https://github.com/wasmerio/wasmer/workflows/build/badge.svg?style=flat-square)](https://github.com/wasmerio/wasmer/actions?query=workflow%3Abuild) [![Join Wasmer Slack](https://img.shields.io/static/v1?label=Slack&message=join%20chat&color=brighgreen&style=flat-square)](https://slack.wasmer.io) [![MIT License](https://img.shields.io/github/license/wasmerio/wasmer.svg?style=flat-square)](https://github.com/wasmerio/wasmer/blob/master/LICENSE)
+# `wasmer-compiler` [![Build Status](https://github.com/wasmerio/wasmer/workflows/build/badge.svg?style=flat-square)](https://github.com/wasmerio/wasmer/actions?query=workflow%3Abuild) [![Join Wasmer Slack](https://img.shields.io/static/v1?label=Slack&message=join%20chat&color=brighgreen&style=flat-square)](https://slack.wasmer.io) [![MIT License](https://img.shields.io/github/license/wasmerio/wasmer.svg?style=flat-square)](https://github.com/wasmerio/wasmer/blob/main/LICENSE)
This crate is the base for Compiler implementations.
@@ -8,9 +8,9 @@ compiler implementor.
Here are some of the Compilers provided by Wasmer:
-* [Singlepass](https://github.com/wasmerio/wasmer/tree/master/lib/compiler-singlepass),
-* [Cranelift](https://github.com/wasmerio/wasmer/tree/master/lib/compiler-cranelift),
-* [LLVM](https://github.com/wasmerio/wasmer/tree/master/lib/compiler-llvm).
+* [Singlepass](https://github.com/wasmerio/wasmer/tree/main/lib/compiler-singlepass),
+* [Cranelift](https://github.com/wasmerio/wasmer/tree/main/lib/compiler-cranelift),
+* [LLVM](https://github.com/wasmerio/wasmer/tree/main/lib/compiler-llvm).
## How to create a compiler
@@ -53,4 +53,4 @@ attributions of the project.
[`cranelift-wasm`]: https://crates.io/crates/cranelift-wasm
-[Wasmer `ATTRIBUTIONS`]: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
+[Wasmer `ATTRIBUTIONS`]: https://github.com/wasmerio/wasmer/blob/main/ATTRIBUTIONS.md
diff --git a/lib/compiler/src/engine/code_memory.rs b/lib/compiler/src/engine/code_memory.rs
index bf243a79703..d5e30bf69ad 100644
--- a/lib/compiler/src/engine/code_memory.rs
+++ b/lib/compiler/src/engine/code_memory.rs
@@ -1,5 +1,5 @@
// This file contains code from external sources.
-// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
+// Attributions: https://github.com/wasmerio/wasmer/blob/main/ATTRIBUTIONS.md
//! Memory management for executable code.
use super::unwind::UnwindRegistry;
diff --git a/lib/compiler/src/engine/unwind/systemv.rs b/lib/compiler/src/engine/unwind/systemv.rs
index fc1c4dfdcc6..d6856878b9e 100644
--- a/lib/compiler/src/engine/unwind/systemv.rs
+++ b/lib/compiler/src/engine/unwind/systemv.rs
@@ -1,5 +1,5 @@
// This file contains code from external sources.
-// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
+// Attributions: https://github.com/wasmerio/wasmer/blob/main/ATTRIBUTIONS.md
//! Module for System V ABI unwind registry.
diff --git a/lib/compiler/src/engine/unwind/windows_x64.rs b/lib/compiler/src/engine/unwind/windows_x64.rs
index 88259dbf906..1581b8607b4 100644
--- a/lib/compiler/src/engine/unwind/windows_x64.rs
+++ b/lib/compiler/src/engine/unwind/windows_x64.rs
@@ -1,5 +1,5 @@
// This file contains code from external sources.
-// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
+// Attributions: https://github.com/wasmerio/wasmer/blob/main/ATTRIBUTIONS.md
//! Module for Windows x64 ABI unwind registry.
use std::collections::HashMap;
diff --git a/lib/compiler/src/translator/environ.rs b/lib/compiler/src/translator/environ.rs
index e69f167fb2d..bb273b2c3da 100644
--- a/lib/compiler/src/translator/environ.rs
+++ b/lib/compiler/src/translator/environ.rs
@@ -1,5 +1,5 @@
// This file contains code from external sources.
-// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
+// Attributions: https://github.com/wasmerio/wasmer/blob/main/ATTRIBUTIONS.md
use super::state::ModuleTranslationState;
use crate::lib::std::string::ToString;
use crate::lib::std::{boxed::Box, string::String, vec::Vec};
diff --git a/lib/compiler/src/translator/module.rs b/lib/compiler/src/translator/module.rs
index 97034a9aa5a..a45546ece74 100644
--- a/lib/compiler/src/translator/module.rs
+++ b/lib/compiler/src/translator/module.rs
@@ -1,5 +1,5 @@
// This file contains code from external sources.
-// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
+// Attributions: https://github.com/wasmerio/wasmer/blob/main/ATTRIBUTIONS.md
//! Translation skeleton that traverses the whole WebAssembly module and call helper functions
//! to deal with each part of it.
diff --git a/lib/compiler/src/translator/sections.rs b/lib/compiler/src/translator/sections.rs
index 55aea49405a..fc5ad49c163 100644
--- a/lib/compiler/src/translator/sections.rs
+++ b/lib/compiler/src/translator/sections.rs
@@ -1,5 +1,5 @@
// This file contains code from external sources.
-// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
+// Attributions: https://github.com/wasmerio/wasmer/blob/main/ATTRIBUTIONS.md
//! Helper functions to gather information for each of the non-function sections of a
//! WebAssembly module.
diff --git a/lib/compiler/src/translator/state.rs b/lib/compiler/src/translator/state.rs
index 4182b06e535..b5393bdb615 100644
--- a/lib/compiler/src/translator/state.rs
+++ b/lib/compiler/src/translator/state.rs
@@ -1,5 +1,5 @@
// This file contains code from external sources.
-// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
+// Attributions: https://github.com/wasmerio/wasmer/blob/main/ATTRIBUTIONS.md
use std::boxed::Box;
use wasmer_types::entity::PrimaryMap;
diff --git a/lib/emscripten/README.md b/lib/emscripten/README.md
index 41c11bb4344..057112e8501 100644
--- a/lib/emscripten/README.md
+++ b/lib/emscripten/README.md
@@ -1,4 +1,4 @@
-# `wasmer-emscripten` [![Build Status](https://github.com/wasmerio/wasmer/workflows/build/badge.svg?style=flat-square)](https://github.com/wasmerio/wasmer/actions?query=workflow%3Abuild) [![Join Wasmer Slack](https://img.shields.io/static/v1?label=Slack&message=join%20chat&color=brighgreen&style=flat-square)](https://slack.wasmer.io) [![MIT License](https://img.shields.io/github/license/wasmerio/wasmer.svg?style=flat-square)](https://github.com/wasmerio/wasmer/blob/master/LICENSE)
+# `wasmer-emscripten` [![Build Status](https://github.com/wasmerio/wasmer/workflows/build/badge.svg?style=flat-square)](https://github.com/wasmerio/wasmer/actions?query=workflow%3Abuild) [![Join Wasmer Slack](https://img.shields.io/static/v1?label=Slack&message=join%20chat&color=brighgreen&style=flat-square)](https://slack.wasmer.io) [![MIT License](https://img.shields.io/github/license/wasmerio/wasmer.svg?style=flat-square)](https://github.com/wasmerio/wasmer/blob/main/LICENSE)
This crate provides the necessary imports to use [Emscripten] WebAssembly generated files easily from Wasmer.
diff --git a/lib/middlewares/README.md b/lib/middlewares/README.md
index 04fea2eeb2e..68d0e98e3f0 100644
--- a/lib/middlewares/README.md
+++ b/lib/middlewares/README.md
@@ -8,5 +8,5 @@ middlewares:
operators executed.
[See the `metering`
- example](https://github.com/wasmerio/wasmer/blob/master/examples/metering.rs)
+ example](https://github.com/wasmerio/wasmer/blob/main/examples/metering.rs)
to get a concrete and complete example.
diff --git a/lib/middlewares/src/metering.rs b/lib/middlewares/src/metering.rs
index acc30fed054..9215854f22f 100644
--- a/lib/middlewares/src/metering.rs
+++ b/lib/middlewares/src/metering.rs
@@ -6,7 +6,7 @@
//! # Example
//!
//! [See the `metering` detailed and complete
-//! example](https://github.com/wasmerio/wasmer/blob/master/examples/metering.rs).
+//! example](https://github.com/wasmerio/wasmer/blob/main/examples/metering.rs).
use std::convert::TryInto;
use std::fmt;
diff --git a/lib/object/README.md b/lib/object/README.md
index aee56b3b269..273a2cb2cc8 100644
--- a/lib/object/README.md
+++ b/lib/object/README.md
@@ -1,4 +1,4 @@
-# `wasmer-object` [![Build Status](https://github.com/wasmerio/wasmer/workflows/build/badge.svg?style=flat-square)](https://github.com/wasmerio/wasmer/actions?query=workflow%3Abuild) [![Join Wasmer Slack](https://img.shields.io/static/v1?label=Slack&message=join%20chat&color=brighgreen&style=flat-square)](https://slack.wasmer.io) [![MIT License](https://img.shields.io/github/license/wasmerio/wasmer.svg?style=flat-square)](https://github.com/wasmerio/wasmer/blob/master/LICENSE)
+# `wasmer-object` [![Build Status](https://github.com/wasmerio/wasmer/workflows/build/badge.svg?style=flat-square)](https://github.com/wasmerio/wasmer/actions?query=workflow%3Abuild) [![Join Wasmer Slack](https://img.shields.io/static/v1?label=Slack&message=join%20chat&color=brighgreen&style=flat-square)](https://slack.wasmer.io) [![MIT License](https://img.shields.io/github/license/wasmerio/wasmer.svg?style=flat-square)](https://github.com/wasmerio/wasmer/blob/main/LICENSE)
The Wasmer Native Object crate aims at cross-generating native objects
for various platforms.
diff --git a/lib/sys-utils/src/memory/fd_memory/fd_mmap.rs b/lib/sys-utils/src/memory/fd_memory/fd_mmap.rs
index 4bda17c9862..b7c718a5856 100644
--- a/lib/sys-utils/src/memory/fd_memory/fd_mmap.rs
+++ b/lib/sys-utils/src/memory/fd_memory/fd_mmap.rs
@@ -1,5 +1,5 @@
// This file contains code from external sources.
-// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
+// Attributions: https://github.com/wasmerio/wasmer/blob/main/ATTRIBUTIONS.md
use std::{
io::{self, Read, Write},
diff --git a/lib/sys-utils/src/memory/fd_memory/memories.rs b/lib/sys-utils/src/memory/fd_memory/memories.rs
index 88684764a80..c6ffa16f3d0 100644
--- a/lib/sys-utils/src/memory/fd_memory/memories.rs
+++ b/lib/sys-utils/src/memory/fd_memory/memories.rs
@@ -2,7 +2,7 @@
//!
//! `Memory` is to WebAssembly linear memories what `Table` is to WebAssembly tables.
// This file contains code from external sources.
-// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
+// Attributions: https://github.com/wasmerio/wasmer/blob/main/ATTRIBUTIONS.md
use std::{cell::UnsafeCell, convert::TryInto, ptr::NonNull, rc::Rc, sync::RwLock};
diff --git a/lib/types/README.md b/lib/types/README.md
index 53ef964f728..453633f8d21 100644
--- a/lib/types/README.md
+++ b/lib/types/README.md
@@ -1,4 +1,4 @@
-# `wasmer-types` [![Build Status](https://github.com/wasmerio/wasmer/workflows/build/badge.svg?style=flat-square)](https://github.com/wasmerio/wasmer/actions?query=workflow%3Abuild) [![Join Wasmer Slack](https://img.shields.io/static/v1?label=Slack&message=join%20chat&color=brighgreen&style=flat-square)](https://slack.wasmer.io) [![MIT License](https://img.shields.io/github/license/wasmerio/wasmer.svg?style=flat-square)](https://github.com/wasmerio/wasmer/blob/master/LICENSE)
+# `wasmer-types` [![Build Status](https://github.com/wasmerio/wasmer/workflows/build/badge.svg?style=flat-square)](https://github.com/wasmerio/wasmer/actions?query=workflow%3Abuild) [![Join Wasmer Slack](https://img.shields.io/static/v1?label=Slack&message=join%20chat&color=brighgreen&style=flat-square)](https://slack.wasmer.io) [![MIT License](https://img.shields.io/github/license/wasmerio/wasmer.svg?style=flat-square)](https://github.com/wasmerio/wasmer/blob/main/LICENSE)
This library provides all the types and traits necessary to use
WebAssembly easily anywhere.
@@ -25,4 +25,4 @@ Among other things, it defines the following _types_:
This project borrowed some of the code for the entity structure from [cranelift-entity](https://crates.io/crates/cranelift-entity).
We decided to move it here to help on serialization/deserialization.
-Please check [Wasmer ATTRIBUTIONS](https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md) to further see licenses and other attributions of the project.
+Please check [Wasmer ATTRIBUTIONS](https://github.com/wasmerio/wasmer/blob/main/ATTRIBUTIONS.md) to further see licenses and other attributions of the project.
diff --git a/lib/types/src/compilation/function.rs b/lib/types/src/compilation/function.rs
index c2372887d62..c36ab85076d 100644
--- a/lib/types/src/compilation/function.rs
+++ b/lib/types/src/compilation/function.rs
@@ -1,5 +1,5 @@
// This file contains code from external sources.
-// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
+// Attributions: https://github.com/wasmerio/wasmer/blob/main/ATTRIBUTIONS.md
//! A `Compilation` contains the compiled function bodies for a WebAssembly
//! module (`CompiledFunction`).
diff --git a/lib/types/src/entity/boxed_slice.rs b/lib/types/src/entity/boxed_slice.rs
index 585c1a16b24..1b1fa34851b 100644
--- a/lib/types/src/entity/boxed_slice.rs
+++ b/lib/types/src/entity/boxed_slice.rs
@@ -1,5 +1,5 @@
// This file contains code from external sources.
-// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
+// Attributions: https://github.com/wasmerio/wasmer/blob/main/ATTRIBUTIONS.md
//! Boxed slices for `PrimaryMap`.
diff --git a/lib/types/src/entity/iter.rs b/lib/types/src/entity/iter.rs
index a157abef8f1..08d5a746a13 100644
--- a/lib/types/src/entity/iter.rs
+++ b/lib/types/src/entity/iter.rs
@@ -1,5 +1,5 @@
// This file contains code from external sources.
-// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
+// Attributions: https://github.com/wasmerio/wasmer/blob/main/ATTRIBUTIONS.md
//! A double-ended iterator over entity references and entities.
diff --git a/lib/types/src/entity/keys.rs b/lib/types/src/entity/keys.rs
index 08d5a225c18..86c68cf6047 100644
--- a/lib/types/src/entity/keys.rs
+++ b/lib/types/src/entity/keys.rs
@@ -1,5 +1,5 @@
// This file contains code from external sources.
-// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
+// Attributions: https://github.com/wasmerio/wasmer/blob/main/ATTRIBUTIONS.md
//! A double-ended iterator over entity references.
//!
diff --git a/lib/types/src/entity/mod.rs b/lib/types/src/entity/mod.rs
index 7adbd6795c4..e3c5ba79092 100644
--- a/lib/types/src/entity/mod.rs
+++ b/lib/types/src/entity/mod.rs
@@ -1,5 +1,5 @@
// This file contains code from external sources.
-// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
+// Attributions: https://github.com/wasmerio/wasmer/blob/main/ATTRIBUTIONS.md
/// A type wrapping a small integer index should implement `EntityRef` so it can be used as the key
/// of an `SecondaryMap` or `SparseMap`.
diff --git a/lib/types/src/entity/packed_option.rs b/lib/types/src/entity/packed_option.rs
index 5ba5d8080bc..1e246c6c813 100644
--- a/lib/types/src/entity/packed_option.rs
+++ b/lib/types/src/entity/packed_option.rs
@@ -1,5 +1,5 @@
// This file contains code from external sources.
-// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
+// Attributions: https://github.com/wasmerio/wasmer/blob/main/ATTRIBUTIONS.md
//! Compact representation of `Option` for types with a reserved value.
//!
diff --git a/lib/types/src/entity/primary_map.rs b/lib/types/src/entity/primary_map.rs
index 40f18b484f7..7fd604c5921 100644
--- a/lib/types/src/entity/primary_map.rs
+++ b/lib/types/src/entity/primary_map.rs
@@ -1,5 +1,5 @@
// This file contains code from external sources.
-// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
+// Attributions: https://github.com/wasmerio/wasmer/blob/main/ATTRIBUTIONS.md
//! Densely numbered entity references as mapping keys.
use crate::entity::boxed_slice::BoxedSlice;
diff --git a/lib/types/src/entity/secondary_map.rs b/lib/types/src/entity/secondary_map.rs
index d747920edb0..f23d6c4c90a 100644
--- a/lib/types/src/entity/secondary_map.rs
+++ b/lib/types/src/entity/secondary_map.rs
@@ -1,5 +1,5 @@
// This file contains code from external sources.
-// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
+// Attributions: https://github.com/wasmerio/wasmer/blob/main/ATTRIBUTIONS.md
//! Densely numbered entity references as mapping keys.
diff --git a/lib/types/src/module.rs b/lib/types/src/module.rs
index 5d2bffa96a3..9176a483e12 100644
--- a/lib/types/src/module.rs
+++ b/lib/types/src/module.rs
@@ -1,5 +1,5 @@
// This file contains code from external sources.
-// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
+// Attributions: https://github.com/wasmerio/wasmer/blob/main/ATTRIBUTIONS.md
//! Data structure for representing WebAssembly modules in a
//! `wasmer::Module`.
diff --git a/lib/types/src/stack/sourceloc.rs b/lib/types/src/stack/sourceloc.rs
index 1ddb3275a05..1f9f8e57e73 100644
--- a/lib/types/src/stack/sourceloc.rs
+++ b/lib/types/src/stack/sourceloc.rs
@@ -1,5 +1,5 @@
// This file contains code from external sources.
-// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
+// Attributions: https://github.com/wasmerio/wasmer/blob/main/ATTRIBUTIONS.md
//! Source locations.
//!
diff --git a/lib/types/src/trapcode.rs b/lib/types/src/trapcode.rs
index 88a4bf5ddc7..23d01fa6bf2 100644
--- a/lib/types/src/trapcode.rs
+++ b/lib/types/src/trapcode.rs
@@ -1,5 +1,5 @@
// This file contains code from external sources.
-// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
+// Attributions: https://github.com/wasmerio/wasmer/blob/main/ATTRIBUTIONS.md
//! Trap codes describing the reason for a trap.
diff --git a/lib/types/src/vmoffsets.rs b/lib/types/src/vmoffsets.rs
index 47e457fa209..3136f1fa080 100644
--- a/lib/types/src/vmoffsets.rs
+++ b/lib/types/src/vmoffsets.rs
@@ -1,5 +1,5 @@
// This file contains code from external sources.
-// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
+// Attributions: https://github.com/wasmerio/wasmer/blob/main/ATTRIBUTIONS.md
//! Offsets and sizes of various structs in wasmer-vm's vmcontext
//! module.
diff --git a/lib/vm/README.md b/lib/vm/README.md
index e15c595799b..1ed0132d403 100644
--- a/lib/vm/README.md
+++ b/lib/vm/README.md
@@ -1,4 +1,4 @@
-# `wasmer-vm` [![Build Status](https://github.com/wasmerio/wasmer/workflows/build/badge.svg?style=flat-square)](https://github.com/wasmerio/wasmer/actions?query=workflow%3Abuild) [![Join Wasmer Slack](https://img.shields.io/static/v1?label=Slack&message=join%20chat&color=brighgreen&style=flat-square)](https://slack.wasmer.io) [![MIT License](https://img.shields.io/github/license/wasmerio/wasmer.svg?style=flat-square)](https://github.com/wasmerio/wasmer/blob/master/LICENSE)
+# `wasmer-vm` [![Build Status](https://github.com/wasmerio/wasmer/workflows/build/badge.svg?style=flat-square)](https://github.com/wasmerio/wasmer/actions?query=workflow%3Abuild) [![Join Wasmer Slack](https://img.shields.io/static/v1?label=Slack&message=join%20chat&color=brighgreen&style=flat-square)](https://slack.wasmer.io) [![MIT License](https://img.shields.io/github/license/wasmerio/wasmer.svg?style=flat-square)](https://github.com/wasmerio/wasmer/blob/main/LICENSE)
This crate contains the Wasmer VM runtime library, supporting the Wasm ABI used by wasmer.
@@ -22,4 +22,4 @@ directly. The `wasmer` crate provides types that embed types from
This project borrowed some of the code for the VM structure and trapping from the [wasmtime-runtime](https://crates.io/crates/wasmtime-runtime).
-Please check [Wasmer ATTRIBUTIONS](https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md) to further see licenses and other attributions of the project.
+Please check [Wasmer ATTRIBUTIONS](https://github.com/wasmerio/wasmer/blob/main/ATTRIBUTIONS.md) to further see licenses and other attributions of the project.
diff --git a/lib/vm/src/export.rs b/lib/vm/src/export.rs
index d9df605e8ab..f251b5897eb 100644
--- a/lib/vm/src/export.rs
+++ b/lib/vm/src/export.rs
@@ -1,5 +1,5 @@
// This file contains code from external sources.
-// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
+// Attributions: https://github.com/wasmerio/wasmer/blob/main/ATTRIBUTIONS.md
use crate::global::VMGlobal;
use crate::memory::VMMemory;
diff --git a/lib/vm/src/imports.rs b/lib/vm/src/imports.rs
index fb5da509907..6928746e2f8 100644
--- a/lib/vm/src/imports.rs
+++ b/lib/vm/src/imports.rs
@@ -1,5 +1,5 @@
// This file contains code from external sources.
-// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
+// Attributions: https://github.com/wasmerio/wasmer/blob/main/ATTRIBUTIONS.md
use crate::vmcontext::{VMFunctionImport, VMGlobalImport, VMMemoryImport, VMTableImport};
use wasmer_types::entity::{BoxedSlice, PrimaryMap};
diff --git a/lib/vm/src/instance/mod.rs b/lib/vm/src/instance/mod.rs
index 4e8e80c9291..f974f64620e 100644
--- a/lib/vm/src/instance/mod.rs
+++ b/lib/vm/src/instance/mod.rs
@@ -1,5 +1,5 @@
// This file contains code from external sources.
-// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
+// Attributions: https://github.com/wasmerio/wasmer/blob/main/ATTRIBUTIONS.md
//! An `Instance` contains all the runtime state used by execution of
//! a WebAssembly module (except its callstack and register state). An
diff --git a/lib/vm/src/libcalls.rs b/lib/vm/src/libcalls.rs
index f4043ff8611..d8b2cbc6dc3 100644
--- a/lib/vm/src/libcalls.rs
+++ b/lib/vm/src/libcalls.rs
@@ -1,5 +1,5 @@
// This file contains code from external sources.
-// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
+// Attributions: https://github.com/wasmerio/wasmer/blob/main/ATTRIBUTIONS.md
//! Runtime library calls.
//!
diff --git a/lib/vm/src/memory.rs b/lib/vm/src/memory.rs
index 61f956de105..d9561a4db1f 100644
--- a/lib/vm/src/memory.rs
+++ b/lib/vm/src/memory.rs
@@ -1,5 +1,5 @@
// This file contains code from external sources.
-// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
+// Attributions: https://github.com/wasmerio/wasmer/blob/main/ATTRIBUTIONS.md
//! Memory management for linear memories.
//!
diff --git a/lib/vm/src/mmap.rs b/lib/vm/src/mmap.rs
index fb3be54d509..8d4934a665b 100644
--- a/lib/vm/src/mmap.rs
+++ b/lib/vm/src/mmap.rs
@@ -1,5 +1,5 @@
// This file contains code from external sources.
-// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
+// Attributions: https://github.com/wasmerio/wasmer/blob/main/ATTRIBUTIONS.md
//! Low-level abstraction for allocating and managing zero-filled pages
//! of memory.
diff --git a/lib/vm/src/probestack.rs b/lib/vm/src/probestack.rs
index cba4389d322..614aaf86245 100644
--- a/lib/vm/src/probestack.rs
+++ b/lib/vm/src/probestack.rs
@@ -1,5 +1,5 @@
// This file contains code from external sources.
-// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
+// Attributions: https://github.com/wasmerio/wasmer/blob/main/ATTRIBUTIONS.md
//! This section defines the `PROBESTACK` intrinsic which is used in the
//! implementation of "stack probes" on certain platforms.
diff --git a/lib/vm/src/sig_registry.rs b/lib/vm/src/sig_registry.rs
index 08edf97e5bd..dca3721eb98 100644
--- a/lib/vm/src/sig_registry.rs
+++ b/lib/vm/src/sig_registry.rs
@@ -1,5 +1,5 @@
// This file contains code from external sources.
-// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
+// Attributions: https://github.com/wasmerio/wasmer/blob/main/ATTRIBUTIONS.md
//! Implement a registry of function signatures, for fast indirect call
//! signature checking.
diff --git a/lib/vm/src/table.rs b/lib/vm/src/table.rs
index 00c2555c2a3..0347206ae9a 100644
--- a/lib/vm/src/table.rs
+++ b/lib/vm/src/table.rs
@@ -1,5 +1,5 @@
// This file contains code from external sources.
-// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
+// Attributions: https://github.com/wasmerio/wasmer/blob/main/ATTRIBUTIONS.md
//! Memory management for tables.
//!
diff --git a/lib/vm/src/trap/mod.rs b/lib/vm/src/trap/mod.rs
index b77ca6ef719..25b3fca8b15 100644
--- a/lib/vm/src/trap/mod.rs
+++ b/lib/vm/src/trap/mod.rs
@@ -1,5 +1,5 @@
// This file contains code from external sources.
-// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
+// Attributions: https://github.com/wasmerio/wasmer/blob/main/ATTRIBUTIONS.md
//! This is the module that facilitates the usage of Traps
//! in Wasmer Runtime
diff --git a/lib/vm/src/trap/traphandlers.rs b/lib/vm/src/trap/traphandlers.rs
index 3d6b877c746..dcd6108ce28 100644
--- a/lib/vm/src/trap/traphandlers.rs
+++ b/lib/vm/src/trap/traphandlers.rs
@@ -1,5 +1,5 @@
// This file contains code from external sources.
-// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
+// Attributions: https://github.com/wasmerio/wasmer/blob/main/ATTRIBUTIONS.md
//! WebAssembly trap handling, which is built on top of the lower-level
//! signalhandling mechanisms.
diff --git a/lib/vm/src/vmcontext.rs b/lib/vm/src/vmcontext.rs
index 520d100d215..8c2c2b48812 100644
--- a/lib/vm/src/vmcontext.rs
+++ b/lib/vm/src/vmcontext.rs
@@ -1,5 +1,5 @@
// This file contains code from external sources.
-// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md
+// Attributions: https://github.com/wasmerio/wasmer/blob/main/ATTRIBUTIONS.md
//! This file declares `VMContext` and several related structs which contain
//! fields that compiled wasm code accesses directly.
diff --git a/lib/wasi-types/src/types.rs b/lib/wasi-types/src/types.rs
index ccfadd4e429..d9a41a41b15 100644
--- a/lib/wasi-types/src/types.rs
+++ b/lib/wasi-types/src/types.rs
@@ -4,7 +4,7 @@
//! Wasmer's WASI types implementation.
//!
//! Those types aim at being used by [the `wasmer-wasi`
-//! crate](https://github.com/wasmerio/wasmer/blob/master/lib/wasi).
+//! crate](https://github.com/wasmerio/wasmer/blob/main/lib/wasi).
// Needed for #[derive(ValueType)]
extern crate wasmer_types as wasmer;
diff --git a/lib/wasix/README.md b/lib/wasix/README.md
index ac56c8069dd..74f875a9683 100644
--- a/lib/wasix/README.md
+++ b/lib/wasix/README.md
@@ -1,4 +1,4 @@
-# `wasmer-wasi` [![Build Status](https://github.com/wasmerio/wasmer/workflows/build/badge.svg?style=flat-square)](https://github.com/wasmerio/wasmer/actions?query=workflow%3Abuild) [![Join Wasmer Slack](https://img.shields.io/static/v1?label=Slack&message=join%20chat&color=brighgreen&style=flat-square)](https://slack.wasmer.io) [![MIT License](https://img.shields.io/github/license/wasmerio/wasmer.svg?style=flat-square)](https://github.com/wasmerio/wasmer/blob/master/LICENSE) [![crates.io](https://img.shields.io/crates/v/wasmer-wasi.svg)](https://crates.io/crates/wasmer-wasi)
+# `wasmer-wasi` [![Build Status](https://github.com/wasmerio/wasmer/workflows/build/badge.svg?style=flat-square)](https://github.com/wasmerio/wasmer/actions?query=workflow%3Abuild) [![Join Wasmer Slack](https://img.shields.io/static/v1?label=Slack&message=join%20chat&color=brighgreen&style=flat-square)](https://slack.wasmer.io) [![MIT License](https://img.shields.io/github/license/wasmerio/wasmer.svg?style=flat-square)](https://github.com/wasmerio/wasmer/blob/main/LICENSE) [![crates.io](https://img.shields.io/crates/v/wasmer-wasi.svg)](https://crates.io/crates/wasmer-wasi)
This crate provides the necessary imports to use WASI easily from Wasmer.
[WebAssembly System Interface](https://github.com/WebAssembly/WASI)
@@ -84,7 +84,7 @@ start.call(&[])?;
```
Check the [fully working example using
-WASI](https://github.com/wasmerio/wasmer/blob/master/examples/wasi.rs).
+WASI](https://github.com/wasmerio/wasmer/blob/main/examples/wasi.rs).
## More resources
diff --git a/lib/wasix/src/lib.rs b/lib/wasix/src/lib.rs
index a73916d5477..258fd19541e 100644
--- a/lib/wasix/src/lib.rs
+++ b/lib/wasix/src/lib.rs
@@ -11,7 +11,7 @@
//! Wasm functions.
//!
//! See `state` for the experimental WASI FS API. Also see the
-//! [WASI plugin example](https://github.com/wasmerio/wasmer/blob/master/examples/plugin.rs)
+//! [WASI plugin example](https://github.com/wasmerio/wasmer/blob/main/examples/plugin.rs)
//! for an example of how to extend WASI using the WASI FS API.
#[cfg(all(not(feature = "sys"), not(feature = "js")))]
diff --git a/lib/wasix/src/state/mod.rs b/lib/wasix/src/state/mod.rs
index aa8f6dc91a9..4f20aea3f0a 100644
--- a/lib/wasix/src/state/mod.rs
+++ b/lib/wasix/src/state/mod.rs
@@ -11,7 +11,7 @@
//! the WASI module permission to access.
//!
//! You can implement `VirtualFile` for your own types to get custom behavior and extend WASI, see the
-//! [WASI plugin example](https://github.com/wasmerio/wasmer/blob/master/examples/plugin.rs).
+//! [WASI plugin example](https://github.com/wasmerio/wasmer/blob/main/examples/plugin.rs).
#![allow(clippy::cognitive_complexity, clippy::too_many_arguments)]
diff --git a/scripts/make-release.py b/scripts/make-release.py
index 41e5c2a10f6..304bafd9347 100644
--- a/scripts/make-release.py
+++ b/scripts/make-release.py
@@ -12,7 +12,7 @@
RELEASE_VERSION=""
DATE = datetime.date.today().strftime("%d/%m/%Y")
SIGNOFF_REVIEWER = "Arshia001"
-TAG = "master"
+TAG = "main"
if len(sys.argv) > 1:
RELEASE_VERSION = sys.argv[1]
@@ -271,7 +271,7 @@ def make_release(version):
if last_commit == "":
raise Exception("could not get last info")
- proc = subprocess.Popen(['git','checkout', "master"], stdout = subprocess.PIPE, cwd = temp_dir.name)
+ proc = subprocess.Popen(['git','checkout', 'main'], stdout = subprocess.PIPE, cwd = temp_dir.name)
proc.wait()
if proc.returncode != 0:
for line in proc.stdout:
@@ -424,7 +424,7 @@ def make_release(version):
hash = hash.replace("/", "")
release_notes.append("")
- release_notes.append("See full list of changes in the [CHANGELOG](https://github.com/wasmerio/wasmer/blob/master/CHANGELOG.md#" + hash + ")")
+ release_notes.append("See full list of changes in the [CHANGELOG](https://github.com/wasmerio/wasmer/blob/main/CHANGELOG.md#" + hash + ")")
proc = subprocess.Popen(['gh','release', "edit", RELEASE_VERSION_WITH_V, "--notes", "\r\n".join(release_notes)], stdout = subprocess.PIPE, cwd = temp_dir.name)
proc.wait()
diff --git a/tests/compilers/metering.rs b/tests/compilers/metering.rs
index 5888a1f6b43..8d5855b54f5 100644
--- a/tests/compilers/metering.rs
+++ b/tests/compilers/metering.rs
@@ -89,7 +89,7 @@ fn loop_twice(config: crate::Config) -> Result<()> {
Ok(())
}
-/// Ported from https://github.com/wasmerio/wasmer/blob/master/tests/middleware_common.rs
+/// Ported from https://github.com/wasmerio/wasmer/blob/main/tests/middleware_common.rs
#[compiler_test(metering)]
fn complex_loop(mut config: crate::Config) -> Result<()> {
// Assemblyscript