You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a lowered package contains `fn main() -> Unit`, `rss lower --rust --out-dir` also emits a Rust `src/main.rs` harness. That package can be checked or run with Cargo once the generated Rust and runtime crate are supported by the local toolchain.
410
+
If a lowered package contains `fn main() -> Unit`, `rss lower --rust --out-dir` also emits a Rust `src/main.rs` harness. `rss run <file.rss>` uses the same lowering path, writes a temporary Rust package, and delegates execution to `cargo run`.
Copy file name to clipboardExpand all lines: RSScript_v0.5_Spec.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -293,6 +293,8 @@ RSScript source
293
293
-> executable / library
294
294
```
295
295
296
+
`rss run <file.rss>` is a convenience command over this pipeline. It lowers the file to a temporary Rust package and invokes Cargo on that package. It is not an interpreter and must not bypass frontend diagnostics, source mapping, or the runtime crate target ABI.
297
+
296
298
The RSScript frontend is responsible for RSScript semantics.
0 commit comments