Skip to content

Commit db0ce37

Browse files
author
Mikachu2333
committed
revert menu
1 parent f17a1c7 commit db0ce37

1 file changed

Lines changed: 15 additions & 12 deletions

File tree

src/recipe/lang/Rust/rustup.c

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,29 +6,32 @@
66
* | Mikachu2333 <mikachu.23333@zohomail.com>
77
* |
88
* Created On : <2024-10-02>
9-
* Last Modified : <2025-06-19>
9+
* Last Modified : <2025-08-07>
1010
* ------------------------------------------------------------*/
1111

12+
// Size: 20MB
13+
#define Rustup_Speed_URL_Suffix "/dist/2025-06-26/cargo-1.88.0-x86_64-unknown-illumos.tar.gz"
14+
1215
static SourceProvider_t pl_rust_binary_upstream =
1316
{
1417
def_upstream, "https://www.rust-lang.org/",
1518
def_need_measure_info
1619
};
1720

1821
/**
19-
* @update 2025-06-17
22+
* @update 2025-08-07
2023
*/
2124
static Source_t pl_rust_rustup_sources[] = {
22-
{&pl_rust_binary_upstream, "https://static.rust-lang.org", NULL},
23-
{&MirrorZ, "https://mirrors.cernet.edu.cn/rustup", NULL},
24-
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/rustup", NULL},
25-
{&Ustc, "https://mirrors.ustc.edu.cn/rust-static", NULL},
26-
{&Nju, "https://mirror.nju.edu.cn/rustup", NULL},
27-
{&Sjtug_Zhiyuan, "https://mirror.sjtu.edu.cn/rust-static", NULL},
28-
{&Zju, "https://mirrors.zju.edu.cn/rustup", NULL},
29-
{&Iscas, "https://mirror.iscas.ac.cn/rustup", NULL},
30-
{&Ali, "https://mirrors.aliyun.com/rustup", NULL},
31-
{&RsProxyCN, "https://rsproxy.cn"}};
25+
{&pl_rust_binary_upstream, "https://static.rust-lang.org", "https://static.rust-lang.org" Rustup_Speed_URL_Suffix},
26+
{&MirrorZ, "https://mirrors.cernet.edu.cn/rustup", NULL},
27+
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/rustup", "https://mirrors.tuna.tsinghua.edu.cn/rustup" Rustup_Speed_URL_Suffix},
28+
{&Ustc, "https://mirrors.ustc.edu.cn/rust-static", "https://mirrors.ustc.edu.cn/rust-static" Rustup_Speed_URL_Suffix},
29+
{&Nju, "https://mirror.nju.edu.cn/rustup", "https://mirror.nju.edu.cn/rustup" Rustup_Speed_URL_Suffix},
30+
{&Sjtug_Zhiyuan, "https://mirror.sjtu.edu.cn/rust-static", "https://mirror.sjtu.edu.cn/rust-static" Rustup_Speed_URL_Suffix},
31+
{&Zju, "https://mirrors.zju.edu.cn/rustup", "https://mirrors.zju.edu.cn/rustup" Rustup_Speed_URL_Suffix},
32+
{&Iscas, "https://mirror.iscas.ac.cn/rustup", "https://mirror.iscas.ac.cn/rustup" Rustup_Speed_URL_Suffix},
33+
{&Ali, "https://mirrors.aliyun.com/rustup", "https://mirrors.aliyun.com/rustup" Rustup_Speed_URL_Suffix},
34+
{&RsProxyCN, "https://rsproxy.cn", "https://rsproxy.cn" Rustup_Speed_URL_Suffix}};
3235
def_sources_n(pl_rust_rustup);
3336

3437

0 commit comments

Comments
 (0)