rust-lang / rust-lang/rust-playground
Invalidate tabs when we rebuild with a different configuration/code
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Rust
- Stars
- 1.4k
- Forks
- 267
- Avg merge
- 3h 2m
- Merged PRs (30d)
- 6
Description
Steps to reproduce:
- Go there: https://play.rust-lang.org/?gist=d99b749587247e52d8887a5007f9dbb8&version=nightly&mode=release
- Build the ASM
- Check that you have sdf in the strings
- Change the sdf in the code to bar
- Build it (normally)
- Check the asm, that tab hasn't been updated so it still shows sdf instead of bar
It would be nice to either refresh the tab or close it if the code or the build configuration changed.
cc @lqd
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the behavior at the linked Playground URL: build the ASM, change the code, rebuild, and inspect the existing ASM tab. Trace the tab and rebuild handling to determine where stale output remains; done means the tab refreshes or closes when the code or build configuration changes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100