We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d999999 commit d693e07Copy full SHA for d693e07
compiler/rustc_metadata/src/creader.rs
@@ -1,9 +1,9 @@
1
//! Validates all used crates and extern libraries and loads their metadata
2
3
use std::error::Error;
4
+use std::ffi::OsString;
5
use std::ops::Fn;
6
use std::path::Path;
-use std::ffi::OsString;
7
use std::str::FromStr;
8
use std::time::Duration;
9
use std::{cmp, env, iter};
src/bootstrap/src/utils/helpers.rs
@@ -62,7 +62,7 @@ pub fn is_dylib(path: &Path) -> bool {
62
63
fn is_aix_shared_archive(path: &Path) -> bool {
64
// FIXME(#133268): reading the entire file as &[u8] into memory seems excessive
65
- // look into either mmap it or use the ReadCache
+ // look into either mmap it or use the ReadCache
66
let data = match fs::read(path) {
67
Ok(data) => data,
68
Err(_) => return false,
0 commit comments