Skip to content

Commit

Permalink
crates/sel4-newlib: Improve lib path detection robustness
Browse files Browse the repository at this point in the history
  • Loading branch information
nspin committed Aug 24, 2023
1 parent 3e29246 commit 6f61543
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/sel4-newlib/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,7 @@ fn detect_libc() {
.parent()
.unwrap();

assert!(lib_path.has_root());

println!("cargo:rustc-link-search=native={}", lib_path.display());
}

0 comments on commit 6f61543

Please sign in to comment.