Repository navigation
v1.2.4 — Real Rust Compilation & Test Execution
What's New
Real Rust Compilation in Playground
- New Compile button alongside the existing AI Run button
- Sends code to the Rust Playground API for real
rustccompilation - See actual compiler errors, warnings, and program output — not AI approximations
- Works without the on-device model (only requires internet)
Automated Test Execution for Exercises
- New Run Tests button on exercises that include test cases
- Runs real
cargo testvia the Rust Playground API - Shows per-test pass/fail results with expandable raw output
- All tests passing auto-completes the exercise
- 3 exercises ship with tests as proof of concept (if1, functions5, structs1)
Architecture
- New
networklayer withRustPlaygroundServiceinterface (testable, injectable) CompileCodeUseCaseandRunExerciseTestsUseCasefollow existing Clean Architecture patterns- Backward-compatible exercise schema — exercises without tests continue working unchanged
play.rust-lang.orgadded to network security config
Offline-First Preserved
- AI tutor, content, flashcards, and all learning features remain fully offline
- Compilation and test execution are optional online enhancements
- Graceful error handling when offline ("No internet connection" message)
Full Changelog: v1.2.3...v1.2.4