0
0
Fork 0
mirror of https://github.com/denoland/rusty_v8.git synced 2024-11-24 15:19:31 -05:00
This commit is contained in:
Bartek Iwańczuk 2024-07-09 23:28:14 +01:00 committed by GitHub
parent 6178f6a8e8
commit 5666d81c7b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 5 deletions

2
Cargo.lock generated
View file

@ -1452,7 +1452,7 @@ checksum = "e51733f11c9c4f72aa0c160008246859e340b00807569a0da0e7a1079b27ba85"
[[package]]
name = "v8"
version = "0.97.0"
version = "0.97.1"
dependencies = [
"align-data",
"bindgen",

View file

@ -1,6 +1,6 @@
[package]
name = "v8"
version = "0.97.0"
version = "0.97.1"
description = "Rust bindings to V8"
readme = "README.md"
authors = ["the Deno authors"]

View file

@ -824,7 +824,7 @@ fn maybe_symlink_root_dir(dirs: &mut Dirs) {
// different drive than the output. If this is the case we'll create a
// symlink called "gn_root' in the out directory, next to 'gn_out', so it
// appears as if they're both on the same drive.
use std::fs::remove_dir;
use std::fs::remove_dir_all;
use std::os::windows::fs::symlink_dir;
let get_prefix = |p: &Path| {
@ -846,9 +846,9 @@ fn maybe_symlink_root_dir(dirs: &mut Dirs) {
loop {
match symlink.canonicalize() {
Ok(existing) if existing == target => break,
Ok(_) => remove_dir(symlink).expect("remove_dir failed"),
Ok(_) => remove_dir_all(symlink).expect("remove_dir_all failed"),
Err(_) => {
let _ = remove_dir(symlink);
let _ = remove_dir_all(symlink);
break symlink_dir(target, symlink).expect("symlink_dir failed");
}
}