rust
Rust code runner — a local scratchpad with real compiler feedback
Lingua compiles the current Rust file with your installed rustc, runs
the native result, and maps compiler feedback into the editor. It is a
fast place to isolate an idea without pretending to replace a complete
Cargo workspace.
What actually runs
rustccompiles the current file as Rust 2021 and Lingua executes the native binary without invoking a shell.- Compile errors become Monaco markers with source locations; stdout, stderr, and panics stream into the results dock’s Console tab.
rust-analyzerprovides desktop diagnostics, completions, hover, and signature help when the binary is available.rustfmthandles format-on-save for.rsfiles.- Debug mode compiles the current buffer with debug symbols and drives local
lldb-dapfor pause breakpoints, stepping, locals, call stack, and watches. - Inline
//=>comments work like the JavaScript and TypeScript scratchpad markers. - In a saved project with
Cargo.toml, the dependency panel can run a confirmedcargo add, and the project test runner can executecargo test --color never.
What doesn’t work today
- Rust execution requires
rustcon the desktop. The web build reports the desktop-only boundary. - Language intelligence requires a local
rust-analyzerbinary. Settings provides detection, installation guidance, and restart controls. - Rust debugging is desktop-only and requires
lldb-dap. Lingua discovers the Xcode adapter throughxcrunon macOS or uses the binary onPATHelsewhere. It debugs the current buffer, not a complete Cargo workspace. - The scratchpad runner compiles one file with
rustc; it does not run a complete Cargo application. Use project tests or the integrated terminal for workspace-level commands.
Why this is in the paid tier
Rust execution is a paid-tier feature. Education access provides the same entitlements free for verified students and educators.
Download
Get Lingua at https://linguacode.dev. Source-available under the Lingua Commercial License.