Skip to content

Commit 88cf7ac

Browse files
committed
Use v2 cargo resolver
The 2021 usually implies resolver v2, and warns otherwise.
1 parent ee3efc8 commit 88cf7ac

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
[workspace]
2+
resolver = "2"
23
members = [
34
"bindgen",
45
"bindgen-cli",
@@ -7,7 +8,6 @@ members = [
78
"bindgen-tests/tests/quickchecking",
89
"bindgen-tests/tests/expectations",
910
]
10-
1111
default-members = [
1212
"bindgen",
1313
"bindgen-cli",
@@ -54,4 +54,3 @@ release = false
5454
[profile.dist]
5555
inherits = "release"
5656
lto = "thin"
57-

bindgen/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ use std::path::{Path, PathBuf};
7474
use std::process::{Command, Stdio};
7575
use std::rc::Rc;
7676
use std::str::FromStr;
77-
use std::sync::{Arc, OnceLock};
7877

7978
// Some convenient typedefs for a fast hash map and hash set.
8079
type HashMap<K, V> = rustc_hash::FxHashMap<K, V>;

0 commit comments

Comments
 (0)