File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -14,8 +14,7 @@ use util;
14
14
15
15
const RUSTUP_BASE_URL : & str = "https://static.rust-lang.org/rustup/dist" ;
16
16
17
- const RUST_CI_TRY_BASE_URL : & str = "https://rust-lang-ci.s3.amazonaws.com/rustc-builds-try" ;
18
- const RUST_CI_MASTER_BASE_URL : & str = "https://rust-lang-ci.s3.amazonaws.com/rustc-builds" ;
17
+ const RUST_CI_BASE_URL : & str = "https://rust-lang-ci.s3.amazonaws.com/rustc-builds" ;
19
18
20
19
const RUST_CI_COMPONENTS : [ ( & str , & str ) ; 3 ] = [
21
20
( "rustc" , "rustc-nightly-x86_64-unknown-linux-gnu.tar.xz" ) ,
@@ -41,8 +40,9 @@ impl Toolchain {
41
40
42
41
match * self {
43
42
Toolchain :: Dist ( ref toolchain) => init_toolchain_from_dist ( toolchain) ?,
44
- Toolchain :: Master { ref sha } => init_toolchain_from_ci ( RUST_CI_MASTER_BASE_URL , sha) ?,
45
- Toolchain :: TryBuild { ref sha } => init_toolchain_from_ci ( RUST_CI_TRY_BASE_URL , sha) ?,
43
+ Toolchain :: Master { ref sha } | Toolchain :: TryBuild { ref sha } => {
44
+ init_toolchain_from_ci ( RUST_CI_BASE_URL , sha) ?
45
+ }
46
46
}
47
47
48
48
Ok ( ( ) )
You can’t perform that action at this time.
0 commit comments