mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +01:00
Auto merge of #16281 - servo:atomic_opaque, r=heycam
Add std::atomic to opaque_types in build_gecko Recent change in bug 1277709 makes ThreadSafeAutoRefCnt start using std::atomic, which somehow doesn't not have #[derive(Debug)] on Windows, which makes all objects which includes ThreadSafeAutoRefCnt to stop having #[derive(Debug)]. This breaks stylo build on Windows. By adding it as an opaque type, std::atomic would derive Debug again. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16281) <!-- Reviewable:end -->
This commit is contained in:
commit
4229ccab4e
1 changed files with 1 additions and 0 deletions
|
@ -439,6 +439,7 @@ mod bindings {
|
||||||
let opaque_types = [
|
let opaque_types = [
|
||||||
"std::pair__PCCP",
|
"std::pair__PCCP",
|
||||||
"std::namespace::atomic___base", "std::atomic__My_base",
|
"std::namespace::atomic___base", "std::atomic__My_base",
|
||||||
|
"std::atomic",
|
||||||
"std::atomic___base",
|
"std::atomic___base",
|
||||||
"mozilla::gfx::.*",
|
"mozilla::gfx::.*",
|
||||||
"FallibleTArray",
|
"FallibleTArray",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue