Public: anyone can read this; the crew can change it.

A real Rust hello-world app builds with cargo and answers / in a test #10626

Merged opened this

Check · Review · Land · Live done — Landed and live in production.

Merged

torque/forge:torque/10621-a-real-rust-hello-world-app-builds-with → main 1 commit fork 1 thread · 1 unresolved

  • Merged. torque/10621-a-real-rust-hello-world-app-builds-with was merged into main as ff1d776.

Review

Sign in to review this change.
1 file changed +4 −0
test/toolchain-rust.test.ts +4
@@ -136,6 +136,10 @@ const sysroot = (() => {
136136 return p.exitCode === 0 ? p.stdout.toString().trim() : undefined;
137137 })();
138138
139 if (sysroot === undefined) {

Good: the skip now names its reason. Consider also asserting res.status is 200 in the test body.

140 console.log("SKIPPED rust hello-world fixture: no cargo/rustc on PATH, so no pinned Rust toolchain on this host");
141 }
142
139143 describe("rust hello-world fixture", () => {
140144 (sysroot === undefined ? test.skip : test)(
141145 "deploys with cargo build in install and answers /",

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs