chobermaier requested wasmtime-default-reviewers for a review on PR #9948.
chobermaier requested alexcrichton for a review on PR #9948.
chobermaier opened PR #9948 from chobermaier:main
to bytecodealliance:main
:
I think with the merge of #9788 yesterday the include statements of the new WASI examples were not quite spot on.
I'm not entirely sure if I got the right file paths to fix, but looking at the diff of #9788 I think they might be the right ones.
Running
mdbook build --open
to build the doc gave these errors:2025-01-08 15:25:26 [INFO] (mdbook::book): Book building has started 2025-01-08 15:25:26 [ERROR] (mdbook::preprocess::links): Error updating "{{#include ../examples/wasi/main.rs}}", Could not read file for link {{#include ../examples/wasi/main.rs}} (/home/christian/repos/wasmtime/docs/./../examples/wasi/main.rs) 2025-01-08 15:25:26 [WARN] (mdbook::preprocess::links): Caused By: No such file or directory (os error 2) 2025-01-08 15:25:26 [ERROR] (mdbook::preprocess::links): Error updating "{{#include ../examples/wasi-async/main.rs}}", Could not read file for link {{#include ../examples/wasi-async/main.rs}} (/home/christian/repos/wasmtime/docs/./../examples/wasi-async/main.rs) 2025-01-08 15:25:26 [WARN] (mdbook::preprocess::links): Caused By: No such file or directory (os error 2) 2025-01-08 15:25:26 [ERROR] (mdbook::preprocess::links): Error updating "{{#include ../examples/wasi/main.c}}", Could not read file for link {{#include ../examples/wasi/main.c}} (/home/christian/repos/wasmtime/docs/./../examples/wasi/main.c) 2025-01-08 15:25:26 [WARN] (mdbook::preprocess::links): Caused By: No such file or directory (os error 2) 2025-01-08 15:25:26 [INFO] (mdbook::book): Running the html backend 2025-01-08 15:25:26 [INFO] (mdbook): Opening web browser
I changed the includes to those files:
- https://github.com/bytecodealliance/wasmtime/blob/main/examples/wasip2/main.rs
- https://github.com/bytecodealliance/wasmtime/blob/main/examples/wasip2-async/main.rs
- https://github.com/bytecodealliance/wasmtime/blob/main/examples/wasip1/main.c
<!--
Please make sure you include the following information:
If this work has been discussed elsewhere, please include a link to that
conversation. If it was discussed in an issue, just mention "issue #...".Explain why this change is needed. If the details are in an issue already,
this can be brief.Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.htmlPlease ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->
alexcrichton submitted PR review:
Oops, thanks!
alexcrichton merged PR #9948.
Last updated: Jan 24 2025 at 00:11 UTC