We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 04e01f2 commit 600901dCopy full SHA for 600901d
src/tools/clippy/tests/versioncheck.rs
@@ -93,6 +93,11 @@ fn check_that_clippy_has_the_same_major_version_as_rustc() {
93
94
#[test]
95
fn check_host_compiler() {
96
+ // do not run this test inside the upstream rustc repo:
97
+ if option_env!("RUSTC_TEST_SUITE").is_some() {
98
+ return;
99
+ }
100
+
101
let version = rustc_tools_util::get_version_info!();
102
assert_eq!(version.host_compiler, Some("nightly".to_string()));
103
}
0 commit comments