patterns
patterns copied to clipboard
Bug: "Run this code" Button stuck at "Running…"
Description
- The
Run this codebutton ▶️ in pages like this one only display a `Running…" text that never produces the output. - I tested this with the following setup on multiple valid code snippet in the site:
Platform:
MacBook Pro 13-inch, M1, 2020)
Chip Apple M1 Memory 8GB Startup disk Macintosh HD macos Sequoia 15.5
Browsers:
- Chrome Version 136.0.7103.114 (Official Build) (arm64)
- Safari Version 18.5 (20621.2.5.11.8)
- Zen Browser Version 1.12.8b (Firefox 138.0.4) (aarch64)
Expected Behavior
- Displaying "Running…" while the code is compiling and running, then displaying the output of the code.
- The same code snippet run in the Rust Playground runs without issue.
PR welcome!
We could also remove the Run button from the snippets, until this is fixed?
Might be a good idea yeah.