Skip to content

Commit

Permalink
Auto merge of rust-lang#94228 - Mark-Simulacrum:beta-next, r=Mark-Sim…
Browse files Browse the repository at this point in the history
…ulacrum

[beta] Branch 1.60 beta

r? `@Mark-Simulacrum`
  • Loading branch information
bors committed Feb 22, 2022
2 parents e08d569 + 07493dd commit 0a4f984
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
6 changes: 6 additions & 0 deletions src/bootstrap/dist.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1023,6 +1023,12 @@ impl Step for Rls {
let rls = builder
.ensure(tool::Rls { compiler, target, extra_features: Vec::new() })
.or_else(|| {
if builder.config.rustc_parallel {
// FIXME: Disable RLS on parallel builds, cannot build due
// to upstream trouble. See
// https://github.com/racer-rust/racer/pull/1177.
return None;
}
missing_tool("RLS", builder.build.config.missing_tools);
None
})?;
Expand Down
2 changes: 1 addition & 1 deletion src/ci/channel
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nightly
beta
9 changes: 4 additions & 5 deletions src/tools/rustfmt/src/ignore_path.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,15 @@ impl IgnorePathSet {

#[cfg(test)]
mod test {
use std::path::{Path, PathBuf};

use crate::config::{Config, FileName};
use crate::ignore_path::IgnorePathSet;

use rustfmt_config_proc_macro::nightly_only_test;

#[nightly_only_test]
#[test]
fn test_ignore_path_set() {
use std::path::{Path, PathBuf};

use crate::config::{Config, FileName};
use crate::ignore_path::IgnorePathSet;
let config =
Config::from_toml(r#"ignore = ["foo.rs", "bar_dir/*"]"#, Path::new("")).unwrap();
let ignore_path_set = IgnorePathSet::from_ignore_list(&config.ignore()).unwrap();
Expand Down

0 comments on commit 0a4f984

Please sign in to comment.