diff --git a/src/recipe/lang/Rust/rustup.c b/src/recipe/lang/Rust/rustup.c index 417728b..c805912 100644 --- a/src/recipe/lang/Rust/rustup.c +++ b/src/recipe/lang/Rust/rustup.c @@ -6,9 +6,12 @@ * | Mikachu2333 * | * Created On : <2024-10-02> - * Last Modified : <2025-06-19> + * Last Modified : <2025-08-07> * ------------------------------------------------------------*/ +// Size: 20MB +#define Rustup_Speed_URL_Suffix "/dist/2025-06-26/cargo-1.88.0-x86_64-unknown-illumos.tar.gz" + static SourceProvider_t pl_rust_binary_upstream = { def_upstream, "https://www.rust-lang.org/", @@ -16,19 +19,19 @@ static SourceProvider_t pl_rust_binary_upstream = }; /** - * @update 2025-06-17 + * @update 2025-08-07 */ static Source_t pl_rust_rustup_sources[] = { - {&pl_rust_binary_upstream, "https://static.rust-lang.org", NULL}, - {&MirrorZ, "https://mirrors.cernet.edu.cn/rustup", NULL}, - {&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/rustup", NULL}, - {&Ustc, "https://mirrors.ustc.edu.cn/rust-static", NULL}, - {&Nju, "https://mirror.nju.edu.cn/rustup", NULL}, - {&Sjtug_Zhiyuan, "https://mirror.sjtu.edu.cn/rust-static", NULL}, - {&Zju, "https://mirrors.zju.edu.cn/rustup", NULL}, - {&Iscas, "https://mirror.iscas.ac.cn/rustup", NULL}, - {&Ali, "https://mirrors.aliyun.com/rustup", NULL}, - {&RsProxyCN, "https://rsproxy.cn"}}; + {&pl_rust_binary_upstream, "https://static.rust-lang.org", "https://static.rust-lang.org" Rustup_Speed_URL_Suffix}, + {&MirrorZ, "https://mirrors.cernet.edu.cn/rustup", NULL}, + {&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/rustup", "https://mirrors.tuna.tsinghua.edu.cn/rustup" Rustup_Speed_URL_Suffix}, + {&Ustc, "https://mirrors.ustc.edu.cn/rust-static", "https://mirrors.ustc.edu.cn/rust-static" Rustup_Speed_URL_Suffix}, + {&Nju, "https://mirror.nju.edu.cn/rustup", "https://mirror.nju.edu.cn/rustup" Rustup_Speed_URL_Suffix}, + {&Sjtug_Zhiyuan, "https://mirror.sjtu.edu.cn/rust-static", "https://mirror.sjtu.edu.cn/rust-static" Rustup_Speed_URL_Suffix}, + {&Zju, "https://mirrors.zju.edu.cn/rustup", "https://mirrors.zju.edu.cn/rustup" Rustup_Speed_URL_Suffix}, + {&Iscas, "https://mirror.iscas.ac.cn/rustup", "https://mirror.iscas.ac.cn/rustup" Rustup_Speed_URL_Suffix}, + {&Ali, "https://mirrors.aliyun.com/rustup", "https://mirrors.aliyun.com/rustup" Rustup_Speed_URL_Suffix}, + {&RsProxyCN, "https://rsproxy.cn", "https://rsproxy.cn" Rustup_Speed_URL_Suffix}}; def_sources_n(pl_rust_rustup);