Skip to content

Commit

Permalink
debug build failure location
Browse files Browse the repository at this point in the history
  • Loading branch information
notmgsk committed Nov 23, 2023
1 parent 9d269a3 commit 99278dd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,13 @@ fn codegen() -> Result<(), Error> {

fn main() -> Result<(), Error> {
for path in get_lib_search_paths() {
println!("adding search path: {path}");
println!("cargo:rustc-link-search={}", path);
}

println!("setting link");
println!("cargo:rustc-link-lib=quil");
println!("finished setting link");

// If this isn't set on MacOS, memory allocation errors occur when trying to initialize the
// library
Expand Down

0 comments on commit 99278dd

Please sign in to comment.