Commit 1c49ccb3 authored by Luca Barbato's avatar Luca Barbato Committed by Luca Barbato
Browse files

Update trim_right_matches usage

parent 554eb778
......@@ -192,7 +192,7 @@ impl Build {
let lib_name = if lib_name.starts_with("lib") && lib_name.ends_with(".a") {
&lib_name[3..lib_name.len() - 2]
} else {
lib_name.trim_right_matches(".lib")
lib_name.trim_end_matches(".lib")
};
let target = self.get_target();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment