Bug 1521732 - Part 4: fix SM rust binging test. r=fitzgen

StackGCVector and RootedVector are partial template specialization and cause
cargo test failure. Bypass the classes by adding them to OPAQUE_TYPES.

Depends on D23184

Differential Revision: https://phabricator.services.mozilla.com/D23185

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Yoshi Cheng-Hao Huang 2019-03-25 06:39:25 +00:00
Родитель edbc333422
Коммит 813bbc9ed9
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -473,8 +473,10 @@ const OPAQUE_TYPES: &'static [&'static str] = &[
"JS::ReadOnlyCompileOptions",
"mozilla::BufferList",
"mozilla::UniquePtr.*",
"JS::RootedVector",
"JS::Rooted<JS::Auto.*Vector.*>",
"JS::Auto.*Vector"
"JS::Auto.*Vector",
"JS::StackGCVector"
];
/// Types for which we should NEVER generate bindings, even if it is used within