Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

Commit 632f21a

Browse files
committed
Disable all_targets in tooltip test runs
More details here: #1151 (comment)
1 parent 7f04b38 commit 632f21a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/actions/hover.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1199,6 +1199,10 @@ pub mod test {
11991199
let temp_dir = tempfile::tempdir().unwrap().into_path();
12001200
config.target_dir = config::Inferrable::Specified(Some(temp_dir.clone()));
12011201
config.racer_completion = racer_fallback_completion;
1202+
// FIXME(#1195): This led to spurious failures on macOS; possibly
1203+
// because regular build and #[cfg(test)] did race or rls-analysis
1204+
// didn't lower them properly?
1205+
config.all_targets = false;
12021206

12031207
let config = Arc::new(Mutex::new(config));
12041208
let analysis = Arc::new(analysis::AnalysisHost::new(analysis::Target::Debug));

0 commit comments

Comments
 (0)