File tree Expand file tree Collapse file tree 2 files changed +1
-12
lines changed Expand file tree Collapse file tree 2 files changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ libc = { version = "0.2.43", optional = true }
5454
5555[build-dependencies ]
5656pkg-config = " 0.3.9"
57- cc = " 1.0.97 "
57+ cc = " 1.0.98 "
5858cmake = { version = " 0.1.50" , optional = true }
5959vcpkg = " 0.2"
6060
Original file line number Diff line number Diff line change @@ -11,18 +11,7 @@ struct Build {
1111
1212impl Build {
1313 fn new ( cfg : cc:: Build ) -> Self {
14- // cc currently has a bug where they create a named temp file in a directory
15- // without ensuring the directory exists first, so apply this workaround
16- // until it can be fixed upstream
17- // Can be removed once https://github.com/rust-lang/cc-rs/pull/1072 is merged and released.
18- let mut pb = PathBuf :: from ( env:: var_os ( "OUT_DIR" ) . expect ( "this should always be set" ) ) ;
19- pb. push ( "lib" ) ;
20- if let Err ( err) = std:: fs:: create_dir_all ( & pb) {
21- panic ! ( "failed to create {:?}: {}" , pb, err) ;
22- }
23-
2414 let is_msvc = cfg. try_get_compiler ( ) . unwrap ( ) . is_like_msvc ( ) ;
25-
2615 Self { cfg, is_msvc }
2716 }
2817
You can’t perform that action at this time.
0 commit comments