File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11[workspace ]
2+ resolver = " 2"
23members = [
34 " bindgen" ,
45 " bindgen-cli" ,
@@ -7,7 +8,6 @@ members = [
78 " bindgen-tests/tests/quickchecking" ,
89 " bindgen-tests/tests/expectations" ,
910]
10-
1111default-members = [
1212 " bindgen" ,
1313 " bindgen-cli" ,
@@ -54,4 +54,3 @@ release = false
5454[profile .dist ]
5555inherits = " release"
5656lto = " thin"
57-
Original file line number Diff line number Diff line change @@ -74,7 +74,6 @@ use std::path::{Path, PathBuf};
7474use std:: process:: { Command , Stdio } ;
7575use std:: rc:: Rc ;
7676use std:: str:: FromStr ;
77- use std:: sync:: { Arc , OnceLock } ;
7877
7978// Some convenient typedefs for a fast hash map and hash set.
8079type HashMap < K , V > = rustc_hash:: FxHashMap < K , V > ;
@@ -576,6 +575,8 @@ impl BindgenOptions {
576575
577576#[ cfg( feature = "runtime" ) ]
578577fn ensure_libclang_is_loaded ( ) {
578+ use std:: sync:: { Arc , OnceLock } ;
579+
579580 if clang_sys:: is_loaded ( ) {
580581 return ;
581582 }
You can’t perform that action at this time.
0 commit comments