We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e047f1 commit 6ebe551Copy full SHA for 6ebe551
library/std/src/sys/unix/os.rs
@@ -471,7 +471,7 @@ pub fn current_exe() -> io::Result<PathBuf> {
471
if !path.is_absolute() { getcwd().map(|cwd| cwd.join(path)) } else { Ok(path) }
472
}
473
474
-#[cfg(target_os) = "aix")]
+#[cfg(target_os = "aix")]
475
pub fn current_exe() -> io::Result<PathBuf> {
476
use crate::io::ErrorKind;
477
0 commit comments