Skip to content

Commit 3b98f39

Browse files
committed
Change release channel default to stable.
1 parent d79f862 commit 3b98f39

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

rustc_tools_util/src/lib.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -161,13 +161,13 @@ pub fn get_channel() -> String {
161161
if let Some(rustc_output) = get_output("rustc", &["-V"]) {
162162
if rustc_output.contains("beta") {
163163
return String::from("beta");
164-
} else if rustc_output.contains("stable") {
165-
return String::from("stable");
164+
} else if rustc_output.contains("nightly") {
165+
return String::from("nightly");
166166
}
167167
}
168168

169-
// default to nightly
170-
String::from("nightly")
169+
// default to stable
170+
String::from("stable")
171171
}
172172

173173
#[cfg(test)]

0 commit comments

Comments
 (0)