chore(workspace): native Rust toolchain as the primary path, builder image as the reproducible alternative

scripts/rust-check.sh and scripts/wasm-build.sh (moved from docker/) run
natively on the user-level rustup toolchain pinned by rust-toolchain.toml;
scripts/rust-env.sh puts ~/.cargo/bin on PATH for non-interactive shells.
Root scripts: rust:check and wasm:build native, rust:check:docker and
wasm:build:docker through docker/rust-run.sh, check:all = scripts/check-all.sh,
the whole pre-merge gate in one command (rust check, types drift, wasm build,
pnpm check, application image, worker:test, worker:image started read-only).
The native check now runs the worker's unit tests (cargo test --workspace);
the sandbox tests stay feature-gated and Docker-only.
This commit is contained in:
bchanot committed 2026-10-13 01:19:13 +02:00
1 parent bd9c7d1968
commit f2cf93668e
12 files changed
+100 -34

No files matched your search

+1 -1
View File
@@ -14,7 +14,7 @@ path = "src/lib.rs"
[features]
default = []
# The R0 trap proofs (panic_for_test, recurse_for_test): built for the proofs, never for the
# module the application ships (docker/wasm-build.sh passes it until R2 wires the real loader).
# module the application ships (scripts/wasm-build.sh passes it until R2 wires the real loader).
proofs = []
[dependencies]