mirror of
https://github.com/denoland/rusty_v8.git
synced 2024-12-26 09:13:46 -05:00
v0.97.1 (#1520)
This commit is contained in:
parent
6178f6a8e8
commit
5666d81c7b
3 changed files with 5 additions and 5 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -1452,7 +1452,7 @@ checksum = "e51733f11c9c4f72aa0c160008246859e340b00807569a0da0e7a1079b27ba85"
|
|||
|
||||
[[package]]
|
||||
name = "v8"
|
||||
version = "0.97.0"
|
||||
version = "0.97.1"
|
||||
dependencies = [
|
||||
"align-data",
|
||||
"bindgen",
|
||||
|
|
|
@ -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"]
|
||||
|
|
6
build.rs
6
build.rs
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue