mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
style: followup: Skip a rustest that depends on include order and isn't super-useful.
Bug: 1457026 Reviewed-by: bholley MozReview-Commit-ID: 3lwAyl8aztW
This commit is contained in:
parent
14b05bead7
commit
29d5c47023
1 changed files with 10 additions and 1 deletions
|
@ -49,7 +49,16 @@ fn main() {
|
|||
// Which is not a problem, but would cause this to not compile.
|
||||
//
|
||||
// Skip this until libclang is updated there.
|
||||
if &cap[1] == "InvalidateStyleForDocStateChanges" {
|
||||
//
|
||||
// Also skip Servo_Element_IsDisplayContents because we
|
||||
// forward-declare it in Element.h without the type bindgen uses
|
||||
// to replace it by a reference, and it depends on the include
|
||||
// order in ServoBindings.h. We have the same problem for
|
||||
// ComputedStyle_{AddRef / Release}, we just don't hit it
|
||||
// because they're included later...
|
||||
if &cap[1] == "InvalidateStyleForDocStateChanges" ||
|
||||
&cap[1] == "Element_IsDisplayContents"
|
||||
{
|
||||
continue;
|
||||
}
|
||||
w.write_all(format!(" [ Servo_{0}, bindings::Servo_{0} ];\n", &cap[1]).as_bytes()).unwrap();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue