Skip to content
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

Use CargoCallbacks::new() in documentation #2723

Merged
merged 1 commit into from
Jan 28, 2024

Conversation

george-hopkins
Copy link
Contributor

Use CargoCallbacks::new() to fix:

warning: use of deprecated constant `bindgen::CargoCallbacks`: Use `CargoCallbacks::new()` instead. Please, check the documentation for further information.
  --> build.rs:11:44
   |
11 |         .parse_callbacks(Box::new(bindgen::CargoCallbacks))

@george-hopkins george-hopkins changed the title Use CargoCallbacks::new() in tutorial Use CargoCallbacks::new() in documentation Jan 18, 2024
@emilio emilio merged commit 6e133ba into rust-lang:main Jan 28, 2024
32 checks passed
@george-hopkins george-hopkins deleted the cargocallbacks branch February 18, 2024 15:55
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.

2 participants