Skip to content

Use wasm-server-runner instead of cargo-run-wasm#354

Open
madsmtm wants to merge 3 commits intomasterfrom
madsmtm/web-runner
Open

Use wasm-server-runner instead of cargo-run-wasm#354
madsmtm wants to merge 3 commits intomasterfrom
madsmtm/web-runner

Conversation

@madsmtm
Copy link
Copy Markdown
Member

@madsmtm madsmtm commented Apr 7, 2026

This integrates much more cleanly with Cargo IMO, and allows people to use the guidance in their own projects without further setup.

I'm planning on creating a similar tool for iOS, to allow easily launching apps in the simulator - once I release that, I'll add that to the docs as well.

CC @rukai

@madsmtm madsmtm added documentation Improvements or additions to documentation DS - Web WebAssembly / WASM backend labels Apr 7, 2026
madsmtm added 2 commits April 7, 2026 16:38
This integrates much more cleanly with Cargo, and allows people to use
the guidance in their own projects without further setup.
@madsmtm madsmtm force-pushed the madsmtm/web-runner branch from cf0709f to 4a8f4ec Compare April 7, 2026 14:38
Comment on lines +5 to +7

# Allow people to customize this for their own checkouts.
.cargo/config.toml
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I've added this to allow people checking out the repository to define the things they need in there themselves. We could alternatively use the new include field to have .cargo/config.toml and allow people to have a .cargo/custom.toml, don't know what you prefer?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

As a reference, Bevy doesn't add have to their .cargo/config.toml, they instead provide small scripts that you can choose to copy.

So I'm leaning towards not doing so either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation DS - Web WebAssembly / WASM backend

Development

Successfully merging this pull request may close these issues.

1 participant