File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
[workspace ]
2
+ resolver = " 2"
2
3
members = [
3
4
" bindgen" ,
4
5
" bindgen-cli" ,
@@ -7,7 +8,6 @@ members = [
7
8
" bindgen-tests/tests/quickchecking" ,
8
9
" bindgen-tests/tests/expectations" ,
9
10
]
10
-
11
11
default-members = [
12
12
" bindgen" ,
13
13
" bindgen-cli" ,
@@ -54,4 +54,3 @@ release = false
54
54
[profile .dist ]
55
55
inherits = " release"
56
56
lto = " thin"
57
-
Original file line number Diff line number Diff line change @@ -74,7 +74,6 @@ use std::path::{Path, PathBuf};
74
74
use std:: process:: { Command , Stdio } ;
75
75
use std:: rc:: Rc ;
76
76
use std:: str:: FromStr ;
77
- use std:: sync:: { Arc , OnceLock } ;
78
77
79
78
// Some convenient typedefs for a fast hash map and hash set.
80
79
type HashMap < K , V > = rustc_hash:: FxHashMap < K , V > ;
@@ -576,6 +575,8 @@ impl BindgenOptions {
576
575
577
576
#[ cfg( feature = "runtime" ) ]
578
577
fn ensure_libclang_is_loaded ( ) {
578
+ use std:: sync:: { Arc , OnceLock } ;
579
+
579
580
if clang_sys:: is_loaded ( ) {
580
581
return ;
581
582
}
You can’t perform that action at this time.
0 commit comments