Skip to content

Use v2 cargo resolver #2999

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 29, 2024
Merged

Use v2 cargo resolver #2999

merged 1 commit into from
Nov 29, 2024

Conversation

nyurik
Copy link
Contributor

@nyurik nyurik commented Nov 29, 2024

The 2021 usually implies resolver v2, and warns otherwise.

@emilio
Copy link
Contributor

emilio commented Nov 29, 2024

Seems there are some warnings to fix :)

@nyurik nyurik force-pushed the wk-resolver branch 2 times, most recently from 88cf7ac to 3d9c3a9 Compare November 29, 2024 18:38
bindgen/lib.rs Outdated
@@ -74,6 +74,8 @@ use std::path::{Path, PathBuf};
use std::process::{Command, Stdio};
use std::rc::Rc;
use std::str::FromStr;

#[cfg(feature = "runtime")]
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe move the use std::sync::{Arc, OnceLock}; inside the function?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yeah, makes sense, fixed

The 2021 usually implies resolver v2, and warns otherwise.
@emilio emilio added this pull request to the merge queue Nov 29, 2024
Merged via the queue into rust-lang:main with commit 72e85ef Nov 29, 2024
28 checks passed
@nyurik nyurik deleted the wk-resolver branch November 29, 2024 22:06
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