File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
src/tools/build-manifest/src Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -252,12 +252,13 @@ impl Builder {
252
252
}
253
253
let manifest = self . build_manifest ( ) ;
254
254
255
- let rust_version = self . versions . rustc_version ( ) ;
256
255
self . write_channel_files ( self . versions . channel ( ) , & manifest) ;
257
- if self . versions . channel ( ) != rust_version {
258
- self . write_channel_files ( & rust_version, & manifest) ;
259
- }
260
256
if self . versions . channel ( ) == "stable" {
257
+ // channel-rust-1.XX.YY.toml
258
+ let rust_version = self . versions . rustc_version ( ) ;
259
+ self . write_channel_files ( rust_version, & manifest) ;
260
+
261
+ // channel-rust-1.XX.toml
261
262
let major_minor = rust_version. split ( '.' ) . take ( 2 ) . collect :: < Vec < _ > > ( ) . join ( "." ) ;
262
263
self . write_channel_files ( & major_minor, & manifest) ;
263
264
}
You can’t perform that action at this time.
0 commit comments