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 a932f3e commit b8b04daCopy full SHA for b8b04da
build.rs
@@ -19,7 +19,7 @@ fn main() {
19
println!("cargo:rerun-if-changed=wrapper.h");
20
21
let extra_header_path = std::env::var("KCP_SYS_EXTRA_HEADER_PATH").unwrap_or_default();
22
- let extra_header_paths = extra_header_path.split(":").collect::<Vec<_>>();
+ let extra_header_paths = extra_header_path.split(":").filter(|s| !s.is_empty()).collect::<Vec<_>>();
23
24
let bindings = bindgen::Builder::default()
25
.header("wrapper.h")
0 commit comments