mirror of
https://github.com/denoland/rusty_v8.git
synced 2024-12-23 15:50:11 -05:00
fix: double rebuild when running ui tests (#338)
This commit is contained in:
parent
5a5bad9adf
commit
054f6daae2
1 changed files with 6 additions and 4 deletions
10
build.rs
10
build.rs
|
@ -23,10 +23,12 @@ fn main() {
|
|||
.map(|s| s.starts_with("rls"))
|
||||
.unwrap_or(false);
|
||||
|
||||
if env::var_os("V8_FROM_SOURCE").is_some() {
|
||||
build_v8()
|
||||
} else if !(is_trybuild || is_cargo_doc | is_rls) {
|
||||
download_static_lib_binaries();
|
||||
if !(is_trybuild || is_cargo_doc | is_rls) {
|
||||
if env::var_os("V8_FROM_SOURCE").is_some() {
|
||||
build_v8()
|
||||
} else {
|
||||
download_static_lib_binaries();
|
||||
}
|
||||
}
|
||||
|
||||
if !(is_cargo_doc || is_rls) {
|
||||
|
|
Loading…
Reference in a new issue