Your program is compiled and executed on the server against a real Rust toolchain, then the standard output and any compiler or runtime errors are returned to your browser.
Write a complete program with a fn main() entry point, just like a normal Rust source file. Anything printed with println! shows up in the Output panel.
Execution is time-limited to keep the service responsive, and network access is restricted. Long-running programs may be stopped and reported as timed out. Rust's rich compiler diagnostics are shown in the Errors panel.
Yes. Click Share to copy a URL that encodes your current program, so anyone who opens the link sees the same code.
Chat opens an AI assistant embedded in the playground. It can explain Rust concepts and ownership, debug borrow-checker and runtime errors, and write code directly into the editor, then run it to confirm it compiles.