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.
26 lines
663 B
TOML
26 lines
663 B
TOML
[package]
|
|
name = "faunosteo-wasm"
|
|
description = "Browser facade of the Faunosteo core (wasm-bindgen), built into packages/core-wasm/pkg"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
rust-version.workspace = true
|
|
publish.workspace = true
|
|
|
|
[lib]
|
|
crate-type = ["cdylib", "rlib"]
|
|
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 (scripts/wasm-build.sh passes it until R2 wires the real loader).
|
|
proofs = []
|
|
|
|
[dependencies]
|
|
faunosteo-core = { path = "../core" }
|
|
wasm-bindgen.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|