rust-playground icon indicating copy to clipboard operation
rust-playground copied to clipboard

The Rust Playground

Results 165 rust-playground issues
Sort by recently updated
recently updated
newest added

This might not be the best fit for a GitHub issue, but I'm not sure where else to report it. I've been working on [an article that uses a large...

We received the following report on the website repo: https://github.com/rust-lang/www.rust-lang.org/issues/2077 The Rust by Example snippets fail to run with a connection timeout. I can reach the playground by itself on...

A colleague shared a permalink, but when I navigated to it the `gist` query parameter was removed, and I was shown a blank document but, oddly, progress in the right...

Recently, the code editor's font size has become unreasonably large (other programs + address bar + "Run" button for scale): ![Illustration of the problem. KWrite, VSCode, and the Firefox address...

To reproduce, open [this](https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=dd66da6e8819c5aa461778ddffc54b8d) and click "expand macros". The result after a bit of waiting is this: ![Image](https://github.com/user-attachments/assets/09212b5a-f2b5-4c3d-af1d-359510ca638c) I would expect either some sort of error message if the server...

The slides for the closing keynote at this year's CPPCon include QR codes linking to runnable code on the Godbolt Compiler Explorer: http://vandevoorde.com/CppCon2024.pdf It would be very cool to be...

**Behavior** On the playground, multi-cursor selection is supported with the `ALT` key being pressed. For example, given the following (invalid) Rust code: ```rust impl X { fn foo() { let...

Consider: ```rust fn main() { let a = r"abc\"; let b = br"abc\"; let c = cr"abc\"; } ``` [playground](https://play.rust-lang.org/?version=stable&mode=debug&edition=2024&gist=0828f4be3233474e8276260b4881add8) The first let statement works but for the rest the...

upstream

This PR set the env CARGO_TERM_COLOR to always when calling the compiler. It will allow output to be parsed to the original colors. [doc](https://doc.rust-lang.org/cargo/reference/config.html#termcolor) Related Issues https://github.com/rust-lang/rust-playground/issues/879 https://github.com/rust-lang/rust-playground/issues/900

This PR ensures that the CARGO_TERM_COLOR environment variable is set to always when invoking the cargo command via the execute_cargo_request function. This change forces cargo to output colored terminal output,...