Bug 1441988 - Fix rust build bustage by adding Auto*Vector to list of opaque types r=me
authorJon Coppeard <jcoppeard@mozilla.com>
Thu, 01 Mar 2018 17:50:18 +0000
changeset 461118 33432803d9204a6912c54acf634a4862c2869172
parent 461117 63ed8121dda4a72263c3038bb516c96839e3a917
child 461119 11a6d361ee90f4aadbc6881c29664bf1dfabc27e
push id1683
push usersfraser@mozilla.com
push dateThu, 26 Apr 2018 16:43:40 +0000
treeherdermozilla-release@5af6cb21869d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1441988
milestone60.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1441988 - Fix rust build bustage by adding Auto*Vector to list of opaque types r=me
js/rust/build.rs
--- a/js/rust/build.rs
+++ b/js/rust/build.rs
@@ -470,16 +470,17 @@ const WHITELIST_FUNCTIONS: &'static [&'s
 /// These are types which are too tricky for bindgen to handle, and/or use C++
 /// features that don't have an equivalent in rust, such as partial template
 /// specialization.
 const OPAQUE_TYPES: &'static [&'static str] = &[
     "JS::ReadOnlyCompileOptions",
     "mozilla::BufferList",
     "mozilla::UniquePtr.*",
     "JS::Rooted<JS::Auto.*Vector.*>",
+    "JS::Auto.*Vector"
 ];
 
 /// Types for which we should NEVER generate bindings, even if it is used within
 /// a type or function signature that we are generating bindings for.
 const BLACKLIST_TYPES: &'static [&'static str] = &[
     // We provide our own definition because we need to express trait bounds in
     // the definition of the struct to make our Drop implementation correct.
     "JS::Heap",