A lightweight WebAssembly runtime that is fast, secure, and standards-compliant
Fix various broken links in docs. (#12125)
Chris Fallinac3358b1c9a1
diff --git a/cranelift/isle/docs/language-reference.md b/cranelift/isle/docs/language-reference.mdindex 7a03da78b9..c7655aac87 100644--- a/cranelift/isle/docs/language-reference.md+++ b/cranelift/isle/docs/language-reference.md@@ -952,7 +952,7 @@ and also to use constructors in place of extractors during the matchphase when this is more convenient.To introduce the concept, an example follows (this is taken from the-[RFC](https://github.com/bytecodealliance/rfcs/tree/main/isle-extended-patterns.md)+[RFC](https://github.com/bytecodealliance/rfcs/tree/main/accepted/isle-extended-patterns.md)that proposed if-lets):```lisp@@ -1413,10 +1413,6 @@ various edges; we can use a Rust `match` statement in the generatedsource and have `O(1)` (or close to it) cost for the dispatch at thislevel.[^8]-Building the trie is a somewhat subtle procedure; see [this block-comment](https://github.com/bytecodealliance/wasmtime/blob/main/cranelift/isle/isle/src/trie.rs#L15-L166)-for more information regarding the trie construction algorithm.-[^8]: The worst-case complexity for a single term rewriting operationis still the cost of evaluating each rule's left-hand sidesequentially, because in general there is no guarantee ofdiff --git a/crates/wasi-common/README.md b/crates/wasi-common/README.mdindex 4d0dcf2df9..a6770dbb06 100644--- a/crates/wasi-common/README.md+++ b/crates/wasi-common/README.md@@ -35,7 +35,7 @@ In our *nix implementation, we currently support the entire [WASI API]with the exception of the `proc_raise` hostcall, as it is expected tobe dropped entirely from WASI.-[WASI API]: https://github.com/WebAssembly/WASI/blob/master/phases/snapshot/docs.md+[WASI API]: https://github.com/WebAssembly/WASI/blob/main/legacy/preview1/docs.md### WindowsIn our Windows implementation, we currently support the minimal subset of [WASI API]diff --git a/crates/wizer/README.md b/crates/wizer/README.mdindex 897178b1be..1f6fdb0d29 100644--- a/crates/wizer/README.md+++ b/crates/wizer/README.md@@ -46,8 +46,8 @@ initialization with Wizer, depending on the workload:| [`regex`][regex-bench] | 248.85 us | 183.99 us | **1.35x faster** || [UAP][uap-bench] | 98.297 ms | 16.385 ms | **6.00x faster** |-[regex-bench]: https://github.com/bytecodealliance/wizer/tree/main/benches/regex-bench-[uap-bench]: https://github.com/bytecodealliance/wizer/tree/main/benches/uap-bench+[regex-bench]: https://github.com/bytecodealliance/wasmtime/tree/main/crates/wizer/benches/regex-bench+[uap-bench]: https://github.com/bytecodealliance/wasmtime/tree/main/crates/wizer/benches/uap-benchNot every program will see an improvement to instantiation and start uplatency. For example, Wizer will often increase the size of the Wasm module'sdiff --git a/docs/contributing-implementing-wasm-proposals.md b/docs/contributing-implementing-wasm-proposals.mdindex 831b3d8278..4b1738e74a 100644--- a/docs/contributing-implementing-wasm-proposals.md+++ b/docs/contributing-implementing-wasm-proposals.md@@ -21,7 +21,7 @@ multiple pull requests.* [ ] Add `-Wyour-proposal` to the `wasmtime-cli-flags` crate.* [ ] Update `tests/wast.rs` to spec tests should pass for this proposal.* [ ] Write custom tests in `tests/misc_testsuite/*.wast` for this proposal.-* [ ] Enable the proposal in [the fuzz targets](./contributing-fuzzing.html).+* [ ] Enable the proposal in [the fuzz targets](./contributing-fuzzing.md).* [ ] Write a custom fuzz target, oracle, and/or testcase generator for fuzzing this proposal in particular.diff --git a/docs/contributing-reducing-test-cases.md b/docs/contributing-reducing-test-cases.mdindex ee029b9be5..e504fb9567 100644--- a/docs/contributing-reducing-test-cases.md+++ b/docs/contributing-reducing-test-cases.md@@ -7,7 +7,7 @@ need to wade through megabytes of unrelated Wasm that isn't necessary toshowcase the bug. The process of taking a large test case and stripping out theunnecessary bits is called *test case reduction*.-[The `wasm-tools shrink` tool](github.com/bytecodealliance/wasm-tools) can+[The `wasm-tools shrink` tool](https://github.com/bytecodealliance/wasm-tools) canautomatically reduce Wasm test cases when given1. the original, unreduced test case, anddiff --git a/docs/contributing.md b/docs/contributing.mdindex 60895fc8b3..03b6c607fb 100644--- a/docs/contributing.md+++ b/docs/contributing.md@@ -2,7 +2,7 @@We're excited to work on Wasmtime and/or Cranelift together with you! This guideshould help you get up and running with Wasmtime and Cranelift development. But-first, make sure you've read the [Code of Conduct](./contributing-coc.html)!+first, make sure you've read the [Code of Conduct](./contributing-coc.md)!Wasmtime and Cranelift are very ambitious projects with many goals, and whilewe're confident we can achieve some of them, we see many opportunities fordiff --git a/docs/examples-debugging-core-dumps.md b/docs/examples-debugging-core-dumps.mdindex 8a0fe044d4..c7bfbc669c 100644--- a/docs/examples-debugging-core-dumps.md+++ b/docs/examples-debugging-core-dumps.md@@ -7,7 +7,7 @@ consumed by external tooling (such as [`wasmgdb`][wasmgdb]) for post-mortem analThis page focuses on generating and inspecting core dumps via the Wasmtimecommand-line interface. For details on how to generate core dumps via the`wasmtime` embedding API, see [Core Dumps in a Rust-Embedding](./examples-rust-core-dumps.md).+Embedding](./examples-core-dumps.md).First, we need to compile some code to Wasm that can trap. Consider thefollowing Rust code:diff --git a/docs/examples-debugging-native-debugger.md b/docs/examples-debugging-native-debugger.mdindex e1a5d059b9..64112674ec 100644--- a/docs/examples-debugging-native-debugger.md+++ b/docs/examples-debugging-native-debugger.md@@ -13,7 +13,7 @@ the same time:2. Run Wasmtime with the debug info enabled; this is `-D debug-info` from theCLI and `Config::debug_info(true)` in an embedding (e.g. see [debugging in a- Rust embedding](./examples-rust-debugging.md)). It's also recommended to use+ Rust embedding](./examples-debugging.md)). It's also recommended to use`-O opt-level=0` for better inspection of local variables if desired.3. Use a supported debugger:diff --git a/docs/lang.md b/docs/lang.mdindex 40b357fe28..e83584343f 100644--- a/docs/lang.md+++ b/docs/lang.md@@ -38,7 +38,7 @@ Rust code.The C API can also be installed through `*-c-api-*` [release artifacts].[README of the C API]: https://github.com/bytecodealliance/wasmtime/blob/main/crates/c-api/README.md-[release artifacts]: github.com/bytecodealliance/wasmtime/releases/latest+[release artifacts]: https://github.com/bytecodealliance/wasmtime/releases/latest## C++diff --git a/docs/stability-tiers.md b/docs/stability-tiers.mdindex 94e57850ba..87ce854d5b 100644--- a/docs/stability-tiers.md+++ b/docs/stability-tiers.md@@ -92,7 +92,7 @@ For explanations of what each tier means see below.[`memory64`]: https://github.com/WebAssembly/memory64/blob/master/proposals/memory64/Overview.md[`custom-page-sizes`]: https://github.com/WebAssembly/custom-page-sizes[`multi-memory`]: https://github.com/WebAssembly/multi-memory/blob/master/proposals/multi-memory/Overview.md-[`threads`]: https://github.com/WebAssembly/threads/blob/master/proposals/threads/Overview.md+[`threads`]: https://github.com/WebAssembly/threads/blob/main-legacy/proposals/threads/Overview.md[`component-model`]: https://github.com/WebAssembly/component-model/blob/main/design/mvp/Explainer.md[`relaxed-simd`]: https://github.com/WebAssembly/relaxed-simd/blob/main/proposals/relaxed-simd/Overview.md[`function-references`]: https://github.com/WebAssembly/function-references/blob/main/proposals/function-references/Overview.md