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;
1414
1515const RUSTUP_BASE_URL : & str = "https://static.rust-lang.org/rustup/dist" ;
1616
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" ;
1918
2019const RUST_CI_COMPONENTS : [ ( & str , & str ) ; 3 ] = [
2120 ( "rustc" , "rustc-nightly-x86_64-unknown-linux-gnu.tar.xz" ) ,
@@ -41,8 +40,9 @@ impl Toolchain {
4140
4241 match * self {
4342 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+ } ,
4646 }
4747
4848 Ok ( ( ) )
You can’t perform that action at this time.
0 commit comments