diff --git a/src/util/lcf.rs b/src/util/lcf.rs index 1429a8e..7bd0a82 100644 --- a/src/util/lcf.rs +++ b/src/util/lcf.rs @@ -111,9 +111,9 @@ pub fn generate_ldscript_partial( } pub fn obj_path_for_unit(unit: &str) -> PathBuf { - PathBuf::from_slash(unit).with_extension("").with_extension("o") + PathBuf::from_slash(unit).with_extension("o") } pub fn asm_path_for_unit(unit: &str) -> PathBuf { - PathBuf::from_slash(unit).with_extension("").with_extension("s") + PathBuf::from_slash(unit).with_extension("s") }