File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
compiler/rustc_metadata/src Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
//! Validates all used crates and extern libraries and loads their metadata
2
2
3
3
use std:: error:: Error ;
4
+ use std:: ffi:: OsString ;
4
5
use std:: ops:: Fn ;
5
6
use std:: path:: Path ;
6
- use std:: ffi:: OsString ;
7
7
use std:: str:: FromStr ;
8
8
use std:: time:: Duration ;
9
9
use std:: { cmp, env, iter} ;
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ pub fn is_dylib(path: &Path) -> bool {
62
62
63
63
fn is_aix_shared_archive ( path : & Path ) -> bool {
64
64
// FIXME(#133268): reading the entire file as &[u8] into memory seems excessive
65
- // look into either mmap it or use the ReadCache
65
+ // look into either mmap it or use the ReadCache
66
66
let data = match fs:: read ( path) {
67
67
Ok ( data) => data,
68
68
Err ( _) => return false ,
You can’t perform that action at this time.
0 commit comments