Skip to content

Add a Stylo bindings sanity test #626

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

Merged
merged 1 commit into from
Apr 12, 2017

Conversation

fitzgen
Copy link
Member

@fitzgen fitzgen commented Apr 10, 2017

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

@highfive
Copy link

warning Warning warning

  • These commits modify unsafe code. Please review it carefully!

@fitzgen fitzgen force-pushed the sanity-test-stylo branch from f0ce76f to 4548bc6 Compare April 10, 2017 22:28
Copy link
Contributor

@emilio emilio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r=me with one request: Can we make sure we don't bundle that file when packaging bindgen?

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.
@fitzgen fitzgen force-pushed the sanity-test-stylo branch from 4548bc6 to aaaa08a Compare April 12, 2017 17:21
@fitzgen
Copy link
Member Author

fitzgen commented Apr 12, 2017

Can we make sure we don't bundle that file when packaging bindgen?

Done! Thanks for the review :)

@bors-servo r+

@bors-servo
Copy link

📌 Commit aaaa08a has been approved by fitzgen

@bors-servo
Copy link

⌛ Testing commit aaaa08a with merge 838c1b3...

bors-servo pushed a commit that referenced this pull request Apr 12, 2017
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
@fitzgen
Copy link
Member Author

fitzgen commented Apr 12, 2017

@bors-servo r-

@fitzgen
Copy link
Member Author

fitzgen commented Apr 12, 2017

@bors-servo r=emilio

@bors-servo
Copy link

📌 Commit aaaa08a has been approved by emilio

@highfive highfive assigned emilio and unassigned fitzgen Apr 12, 2017
@bors-servo
Copy link

⌛ Testing commit aaaa08a with merge 3837dd9...

bors-servo pushed a commit that referenced this pull request Apr 12, 2017
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
@bors-servo
Copy link

☀️ Test successful - status-travis
Approved by: emilio
Pushing 3837dd9 to master...

@bors-servo bors-servo merged commit aaaa08a into rust-lang:master Apr 12, 2017
@fitzgen fitzgen deleted the sanity-test-stylo branch April 12, 2017 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants