mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Fix unsafe AtomicRefCell<PersistentLayoutData> transmute due to memory alignment differences
This commit is contained in:
parent
48fdda3f07
commit
593e89086f
6 changed files with 39 additions and 0 deletions
|
@ -2,6 +2,9 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
extern crate atomic_refcell;
|
||||
extern crate layout;
|
||||
extern crate script_layout_interface;
|
||||
|
||||
#[cfg(test)] mod align_of;
|
||||
#[cfg(all(test, target_pointer_width = "64"))] mod size_of;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue