Skip to content

Commit 3837dd9

Browse files
author
bors-servo
authored
Auto merge of rust-lang#626 - fitzgen:sanity-test-stylo, r=emilio
Add a Stylo bindings sanity test This commit adds a sanity test that we can generate bindings for Stylo without any errors. I tried to make this a `#[bench]` but each iteration takes 36 seconds on my machine, which made the `#[bench]` take *way* too long. Instead, there is a commented out `panic!` that can be uncommented to get a log of how long it took. r? @emilio
2 parents 06fa2f7 + aaaa08a commit 3837dd9

File tree

4 files changed

+178467
-1
lines changed

4 files changed

+178467
-1
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
tests/stylo.hpp -diff

Cargo.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@ documentation = "https://docs.rs/bindgen"
1616
version = "0.23.0"
1717
build = "build.rs"
1818

19-
exclude = ["tests/headers", "tests/expectations", "bindgen-integration", "ci"]
19+
exclude = [
20+
"bindgen-integration",
21+
"ci",
22+
"tests/**",
23+
]
2024

2125
[badges]
2226
travis-ci = { repository = "servo/rust-bindgen" }

0 commit comments

Comments
 (0)