Skip to content

Conversation

@chobermaier
Copy link
Contributor

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:

@chobermaier chobermaier requested a review from a team as a code owner January 8, 2025 14:58
@chobermaier chobermaier requested review from alexcrichton and removed request for a team January 8, 2025 14:58
Copy link
Member

@alexcrichton alexcrichton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, thanks!

@alexcrichton alexcrichton added this pull request to the merge queue Jan 8, 2025
Merged via the queue into bytecodealliance:main with commit 4ad53fa Jan 8, 2025
39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants