You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello.
I want to use a mirror server for downloading static libraries in build.rs because downloading files from GitHub is extremely slow in my home.
Could you add an option to change download url like this?
--- a/build.rs+++ b/build.rs@@ -168,7 +168,8 @@ fn download_ninja_gn_binaries() {
}
fn static_lib_url() -> (String, String) {
- let base = "https://github.com/denoland/rusty_v8/releases/download";+ let default_base = "https://github.com/denoland/rusty_v8/releases/download";+ let base = env::var("RUSTY_V8_MIRROR").unwrap_or_else(|_| default_base.into());
let version = env::var("CARGO_PKG_VERSION").unwrap();
let target = env::var("TARGET").unwrap();
if cfg!(target_os = "windows") {
The text was updated successfully, but these errors were encountered:
Hello.
I want to use a mirror server for downloading static libraries in build.rs because downloading files from GitHub is extremely slow in my home.
Could you add an option to change download url like this?
The text was updated successfully, but these errors were encountered: