Don't double remove obj path extension
Don't remember why I had it like this Fixes #17
This commit is contained in:
parent
6f2bb62082
commit
2681e51443
|
@ -111,9 +111,9 @@ pub fn generate_ldscript_partial(
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn obj_path_for_unit(unit: &str) -> PathBuf {
|
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 {
|
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")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue