Skip to content

Commit

Permalink
Debug build error on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
phil-opp committed Feb 14, 2024
1 parent de6917a commit 2f43534
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions apis/c++/node/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ fn main() {
.join("dora-node-api-cxx")
.join("src");
let target_dir = src_dir.parent().unwrap();
{
dbg!(&src_dir);
let entries: Vec<_> = std::fs::read_dir(&src_dir).unwrap().collect();
dbg!(&entries);
}
std::fs::copy(src_dir.join("lib.rs.h"), target_dir.join("dora-node-api.h")).unwrap();
std::fs::copy(
src_dir.join("lib.rs.cc"),
Expand Down

0 comments on commit 2f43534

Please sign in to comment.