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 4a41319 commit 2797852Copy full SHA for 2797852
build.rs
@@ -6,7 +6,7 @@ fn main() {
6
let custom_lib_dir = custom_lib_path.parent().unwrap().to_string_lossy();
7
8
let custom_lib_name = custom_lib_path.file_stem().unwrap().to_string_lossy();
9
- let custom_lib_name = custom_lib_name.trim_left_matches("lib");
+ let custom_lib_name = custom_lib_name.trim_start_matches("lib");
10
11
println!("cargo:rustc-link-search=native={}", custom_lib_dir);
12
println!("cargo:rustc-link-lib=static={}", custom_lib_name);
0 commit comments