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 7a7f78d commit f47576dCopy full SHA for f47576d
build.rs
@@ -5,7 +5,9 @@ fn main() {
5
let custom_lib_dir = custom_lib_path.parent().unwrap().to_string_lossy();
6
7
let custom_lib_name = custom_lib_path.file_stem().unwrap().to_string_lossy();
8
- let custom_lib_name = custom_lib_name.strip_prefix("lib").unwrap_or(custom_lib_name.as_ref());
+ let custom_lib_name = custom_lib_name
9
+ .strip_prefix("lib")
10
+ .unwrap_or(custom_lib_name.as_ref());
11
12
println!("cargo:rustc-link-search=native={}", custom_lib_dir);
13
println!("cargo:rustc-link-lib=static={}", custom_lib_name);
0 commit comments