-
Notifications
You must be signed in to change notification settings - Fork 747
Add --allowlist-file option #2122
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Looks good with the nits addressed.
src/ir/context.rs
Outdated
@@ -2318,6 +2319,21 @@ If you encounter an error missing from this list, please file an issue or a PR!" | |||
return true; | |||
} | |||
|
|||
// Items with a source location in an explicitly allowlisted file | |||
// are always included. | |||
if let Some(location) = &item.location() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That way you can remove this ampersand.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
This branch is working great for openssl-sys :) sfackler/rust-openssl#1573 |
Is this ready to land? |
Yes, as far as I know – @emilio, anything else needed/wanted? |
☔ The latest upstream changes (presumably be6d07a) made this pull request unmergeable. Please resolve the merge conflicts. |
80de9c7
to
45bf83d
Compare
We are trying to use this feature in https://github.com/ianks/rb-sys for official Ruby support for Rust. Would love to see this get merged! |
45bf83d
to
722f88e
Compare
@emilio i believe this should be ready to merge |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks!
Any chance you could cut a release with this? Thanks! |
No description provided.