Skip to content

Rust support documentation install guide [WIP] - #445

Merged
alexp-sssup merged 9 commits into
mainfrom
rust-support-documentation
Aug 13, 2026
Merged

Rust support documentation install guide [WIP]#445
alexp-sssup merged 9 commits into
mainfrom
rust-support-documentation

Conversation

@codingfrog27

@codingfrog27 codingfrog27 commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Second round PR

  • Added reducing binary size section.
  • various miscelanous styling and capitalisation feedback implemented
  • Moved prerequissites into installing the toolchain
  • removed link to glossary for the word "Pod"
  • moved in document comments to this PR message
  • filled in empty links
  • added target, cross-compilation,, system image to glossary

doc considerations

Most of these will fall back to the central questions of: How much do we want to expand docs for inexperienced users vs how much do we want to keep it concise for experienced once.

  • on introduction section: Could put less emphasis or different wording on cross compilation and different targets

    • and/or a specific mention BP doesnt have a Rust runtime in the Pods
  • Could add the cargo new hello_world command to step 2 for any user that doesn't already have a rust project set up yet.


First draft off Rust installation Guide

Additions

  • install guide for the BrowserPod Rust toolchain: prerequisites,
    install script, activating the toolchain, building for
    wasm32-browserpod-linux-musl, uninstall/update, and troubleshooting.
  • small glossary addition
  • Renamed previous binary doc page to avoid confusion

Todo

  • EIther add a symlink to the llvm of rust or add llvm and clang to prerequisites in documentation
  • quick local build check to adjust whitespace.
  • add loading binary in pod guide (alt: extention on write files to a pod page)
  • potential more advanced rust details (that I also need to first research more like: cfg values (target_arch = "wasm64"), panic=abort,
    no dynamic linking, 1 MB stack, bundled OpenSSL
  • smoke test all steps both with and without added llvm-ar for removed host dependency
    - observe changed toolchain size on both too
  • adjust roadmap page

@GabrielaReyna GabrielaReyna left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hi Merlin,

Good work on this. I can see the guide is in a very draft state in terms of formatting and you focused on the technical parts, there were lots of inconsistencies with the writing and structure. This will need a second pass and a second review.

I can see that this guide includes multiple sections that, if they grow might be worth splitting into multiple guides (e.g. one for installing, one for troubleshooting). But we can keep it as one for now.

I am thinking also splitting the docs per tech supported is also a good idea (guides section for Node, guides section for Rust). We can discuss this.

Many thanks!

Comment thread sites/browserpod/src/content/docs/12-guides/06-installing-rust-toolchain.md Outdated
Comment thread sites/browserpod/src/content/docs/12-guides/06-installing-rust-toolchain.md Outdated
Comment thread sites/browserpod/src/content/docs/12-guides/06-installing-rust-toolchain.md Outdated
Comment thread sites/browserpod/src/content/docs/12-guides/06-installing-rust-toolchain.md Outdated
Comment thread sites/browserpod/src/content/docs/12-guides/06-installing-rust-toolchain.md Outdated
Comment thread sites/browserpod/src/content/docs/12-guides/06-installing-rust-toolchain.md Outdated
Comment thread sites/browserpod/src/content/docs/12-guides/06-installing-rust-toolchain.md Outdated
Comment thread sites/browserpod/src/content/docs/12-guides/06-installing-rust-toolchain.md Outdated
Comment thread sites/browserpod/src/content/docs/12-guides/06-installing-rust-toolchain.md Outdated
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 10, 2026

Copy link
Copy Markdown

Deploying labs-browserpod-previews with  Cloudflare Pages  Cloudflare Pages

Latest commit: da4edca
Status: ✅  Deploy successful!
Preview URL: https://6322e69b.labs-browserpod-previews.pages.dev
Branch Preview URL: https://rust-support-documentation.labs-browserpod-previews.pages.dev

View logs

@codingfrog27
codingfrog27 force-pushed the rust-support-documentation branch from a6463ba to 2a1eddf Compare August 10, 2026 12:16
@codingfrog27
codingfrog27 force-pushed the rust-support-documentation branch from 9ea1376 to a6df037 Compare August 11, 2026 08:42
Comment thread sites/browserpod/src/content/docs/12-guides/06-installing-rust-toolchain.md Outdated
Comment thread sites/browserpod/src/content/docs/12-guides/06-installing-rust-toolchain.md Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please use lowercase for the file names, capitalizing filenames leads to broken links

Comment thread sites/browserpod/src/content/docs/12-guides/07-run-programs-in-a-pod.md Outdated
Comment thread sites/browserpod/src/content/docs/12-guides/07-run-programs-in-a-pod.md Outdated
Comment thread sites/browserpod/src/content/docs/12-guides/07-run-programs-in-a-pod.md Outdated
Comment thread sites/browserpod/src/content/docs/12-guides/07-run-programs-in-a-pod.md Outdated
Comment thread sites/browserpod/src/content/docs/12-guides/07-run-programs-in-a-pod.md Outdated

@GabrielaReyna GabrielaReyna left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hi Merlin,

I have added several comments, this includes guides structures, typos, wording etc.

Please review throughly, I advice you do a pass on your writing before requesting a PR review.

@alexp-sssup
alexp-sssup marked this pull request as ready for review August 13, 2026 10:29
@alexp-sssup
alexp-sssup merged commit e7208df into main Aug 13, 2026
7 checks passed
@alexp-sssup
alexp-sssup deleted the rust-support-documentation branch August 13, 2026 10:30
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.

4 participants