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.
This commit is contained in:
Xidorn Quan 2017-04-06 13:06:51 +10:00 committed by GitHub
parent c41ade06eb
commit ed5c49c102

View file

@ -439,6 +439,7 @@ mod bindings {
let opaque_types = [
"std::pair__PCCP",
"std::namespace::atomic___base", "std::atomic__My_base",
"std::atomic",
"std::atomic___base",
"mozilla::gfx::.*",
"FallibleTArray",