Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upUse our copy of RefCell for style data #11835
Conversation
|
@bors-servo r+ |
|
|
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 -->
|
|
|
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. |
SimonSapin commentedJun 23, 2016
•
edited by larsbergstrom
This allows removing
#![feature(as_unsafe_cell)]in geckolib and make progress towards #11815../mach build -ddoes not report any errors./mach test-tidydoes not report any errorsThis change is