Skip to content

Commit

Permalink
gn_root should be absolute
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed Nov 1, 2019
1 parent 6838cb1 commit a7bca49
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ fn main() {
println!("cargo:warning=Not using sccache");
}

let gn_out = cargo_gn::maybe_gen(".", gn_args);
let gn_root = env::current_dir().unwrap();
let gn_out = cargo_gn::maybe_gen(gn_root, gn_args);
assert!(gn_out.exists());
assert!(gn_out.join("args.gn").exists());
cargo_gn::build("rusty_v8");
Expand Down

0 comments on commit a7bca49

Please sign in to comment.