-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use our copy of RefCell for style data #11835
Conversation
This allows removing `#![feature(as_unsafe_cell)]` in geckolib and make progress towards #11815.
145ae43
to
6807bb6
Compare
@bors-servo r+ |
📌 Commit 6807bb6 has been approved by |
Use our copy of RefCell for style data <!-- Please describe your changes on the following line: --> This allows removing `#![feature(as_unsafe_cell)]` in geckolib and make progress towards #11815. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix part of #11815. <!-- Either: --> - [ ] There are tests for these changes OR - [x] These changes do not require new tests because they don’t introduce no functional changes. <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11835) <!-- Reviewable:end -->
☀️ Test successful - android, arm32, arm64, linux-dev, linux-rel, mac-dev-unit, mac-rel-css, mac-rel-wpt, windows |
Is there justification for this somewhere? Ie, does the Rust team not want to stabilize this? Using custom data structures is a road that may end up infected crates that others depend on, and could segregate us from the ecosystem. Not to mention we won't be getting RefCell bugfixes. |
rust-lang/rust#27708 is the tracking issue for stabilizing I agree that forking data structures from I made this PR because I’d like to not be blocked several weeks (at best) before we can get CI for #11815. |
Thanks for the explanation. |
This allows removing
#![feature(as_unsafe_cell)]
in geckolib and make progress towards #11815../mach build -d
does not report any errors./mach test-tidy
does not report any errorsThis change is