Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Error when mutating comptime variables in non-comptime code (#6003)
# Description ## Problem\* Resolves #5982 ## Summary\* Issues an error when mutating comptime globals in a non-comptime context. Previously we either allowed the code if the method is unused, or panicked during monomorphization. ## Additional Context ## Documentation\* Check one: - [x] No documentation needed. - [ ] Documentation included in this PR. - [ ] **[For Experimental Features]** Documentation to be submitted in a separate PR. # PR Checklist\* - [x] I have tested the changes locally. - [x] I have formatted the changes with [Prettier](https://prettier.io/) and/or `cargo fmt` on default settings.
- Loading branch information