-
Notifications
You must be signed in to change notification settings - Fork 747
Run tests with more versions of libclang #588
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run tests with more versions of libclang #588
Conversation
r=me if it passes |
50fdafe
to
30edebe
Compare
Looks like the issue from #585 is in clang 4.0 too: -pub type IntPoint = PointTyped<f32>;
+pub type IntPoint = PointTyped; |
And it looks like we need to ignore clang's mangled symbols for non-C++ stuff in 3.7.X: ---- header_decl_ptr_to_array_h stdout ----
diff expected generated
--- expected: "/home/travis/build/servo/rust-bindgen/tests/expectations/tests/decl_ptr_to_array.rs"
+++ generated from: "/home/travis/build/servo/rust-bindgen/tests/headers/decl_ptr_to_array.h"
/* automatically generated by rust-bindgen */
#![allow(non_snake_case)]
extern "C" {
- #[link_name = "foo"]
+ #[link_name = "_Z3foo"]
pub static mut foo: *mut [::std::os::raw::c_int; 1usize];
}
thread 'header_decl_ptr_to_array_h' panicked at 'Header and binding differ!', /tmp/bindgen/debug/build/bindgen-d3df86004a58a8a1/out/tests.rs:50 |
I'm going to |
First, update our existing 3.8.X and 3.9.X libclang testing versions to their latest point releases. Second, add testing on the latest 3.7.X release and the latest 4.0.X release.
30edebe
to
b58c3e0
Compare
@bors-servo r=emilio |
📌 Commit b58c3e0 has been approved by |
Run tests with more versions of libclang First, update our existing 3.8.X and 3.9.X libclang testing versions to their latest point releases. Second, add testing on the latest 3.7.X release and the latest 4.0.X release. r? @emilio
☀️ Test successful - status-travis |
First, update our existing 3.8.X and 3.9.X libclang testing versions to their latest point releases. Second, add testing on the latest 3.7.X release and the latest 4.0.X release.
r? @emilio