Skip to content

Add more logging for item insertion and asserts #257

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
Nov 15, 2016

Conversation

fitzgen
Copy link
Member

@fitzgen fitzgen commented Nov 14, 2016

This adds debug! logging for all paths that insert items into
BindgenContext::items, and adds some debug_assert!s against dangling
ItemIds.

r? @emilio

This adds `debug!` logging for all paths that insert items into
`BindgenContext::items`, and adds some `debug_assert!`s against dangling
`ItemId`s.
@emilio
Copy link
Contributor

emilio commented Nov 15, 2016

@bors-servo r+

@bors-servo
Copy link

📌 Commit 6bbabff has been approved by emilio

@bors-servo
Copy link

⚡ Test exempted - status

@bors-servo bors-servo merged commit 6bbabff into rust-lang:master Nov 15, 2016
bors-servo pushed a commit that referenced this pull request Nov 15, 2016
Add more logging for item insertion and asserts

This adds `debug!` logging for all paths that insert items into
`BindgenContext::items`, and adds some `debug_assert!`s against dangling
`ItemId`s.

r? @emilio
@fitzgen fitzgen deleted the more-logging-and-asserts branch November 15, 2016 00:30
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