Skip to content

Commit 0a4f984

Browse files
committed
Auto merge of rust-lang#94228 - Mark-Simulacrum:beta-next, r=Mark-Simulacrum
[beta] Branch 1.60 beta r? `@Mark-Simulacrum`
2 parents e08d569 + 07493dd commit 0a4f984

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

src/bootstrap/dist.rs

+6
Original file line numberDiff line numberDiff line change
@@ -1023,6 +1023,12 @@ impl Step for Rls {
10231023
let rls = builder
10241024
.ensure(tool::Rls { compiler, target, extra_features: Vec::new() })
10251025
.or_else(|| {
1026+
if builder.config.rustc_parallel {
1027+
// FIXME: Disable RLS on parallel builds, cannot build due
1028+
// to upstream trouble. See
1029+
// https://github.com/racer-rust/racer/pull/1177.
1030+
return None;
1031+
}
10261032
missing_tool("RLS", builder.build.config.missing_tools);
10271033
None
10281034
})?;

src/ci/channel

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
nightly
1+
beta

src/tools/rustfmt/src/ignore_path.rs

+4-5
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,15 @@ impl IgnorePathSet {
3232

3333
#[cfg(test)]
3434
mod test {
35-
use std::path::{Path, PathBuf};
36-
37-
use crate::config::{Config, FileName};
38-
use crate::ignore_path::IgnorePathSet;
39-
4035
use rustfmt_config_proc_macro::nightly_only_test;
4136

4237
#[nightly_only_test]
4338
#[test]
4439
fn test_ignore_path_set() {
40+
use std::path::{Path, PathBuf};
41+
42+
use crate::config::{Config, FileName};
43+
use crate::ignore_path::IgnorePathSet;
4544
let config =
4645
Config::from_toml(r#"ignore = ["foo.rs", "bar_dir/*"]"#, Path::new("")).unwrap();
4746
let ignore_path_set = IgnorePathSet::from_ignore_list(&config.ignore()).unwrap();

0 commit comments

Comments
 (0)