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:
1 parent
bd9c7d1968
commit
f2cf93668e
12 files changed
+100
-34
No files matched your search
+2
-1
@@ -1,6 +1,7 @@
|
||||
# Faunosteo Rust workspace (plan R0, docs/development/RUST_ARCHITECTURE_REVIEW.md Part III).
|
||||
# Three crates: core (feature-gated library), wasm (browser facade), worker (service binary).
|
||||
# Every command runs through the builder image: docs/development/RUST.md.
|
||||
# Commands run on the native toolchain of the development machine (rustup, the channel of
|
||||
# rust-toolchain.toml) or inside the builder image: docs/development/RUST.md §1.
|
||||
[workspace]
|
||||
resolver = "3"
|
||||
members = ["crates/core", "crates/wasm", "crates/worker"]
|
||||
|
||||
Reference in new issue
Block a user