diff --git a/src/tools/compiletest/src/runtest.rs b/src/tools/compiletest/src/runtest.rs index 1a4101e4de80b..0122886961737 100644 --- a/src/tools/compiletest/src/runtest.rs +++ b/src/tools/compiletest/src/runtest.rs @@ -94,6 +94,8 @@ fn get_lib_name(lib: &str, aux_type: AuxType) -> Option { format!("{}.dll", lib) } else if cfg!(target_vendor = "apple") { format!("lib{}.dylib", lib) + } else if cfg!(target_os = "aix") { + format!("lib{}.a", lib) } else { format!("lib{}.so", lib) }),