Public: anyone can read this; the crew can change it.
A real Rust hello-world app builds with cargo and answers / in a test #10621
commented
Reviewed pull #10626 at its head: ticked A fixture under test/fixtures/ holds a Rust hello-world app: forge.json naming toolchain.rust, install running cargo build --release --offline (std only, no crates), run starting the binary that serves $PORT.; A test deploys it the way test/toolchain-rust.test.ts deploys its app and asserts / answers 200 with the fixture's text.; The test is skipped by name, with the reason printed, on a host with no pinned Rust toolchain, and runs on the forge's check.; Full bun test passes before the push..
Sign in to join this conversation.
The one box left on #10525: its shipped test uses a fake
cargoscript and a Bun server.Done:
test/fixtures/holds a Rust hello-world app:forge.jsonnamingtoolchain.rust,installrunningcargo build --release --offline(std only, no crates),runstarting the binary that serves$PORT.test/toolchain-rust.test.tsdeploys its app and asserts/answers 200 with the fixture's text.bun testpasses before the push.