We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d79f862 commit 3b98f39Copy full SHA for 3b98f39
rustc_tools_util/src/lib.rs
@@ -161,13 +161,13 @@ pub fn get_channel() -> String {
161
if let Some(rustc_output) = get_output("rustc", &["-V"]) {
162
if rustc_output.contains("beta") {
163
return String::from("beta");
164
- } else if rustc_output.contains("stable") {
165
- return String::from("stable");
+ } else if rustc_output.contains("nightly") {
+ return String::from("nightly");
166
}
167
168
169
- // default to nightly
170
- String::from("nightly")
+ // default to stable
+ String::from("stable")
171
172
173
#[cfg(test)]
0 commit comments