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

Commit

Permalink
Disable all_targets in tooltip test runs
Browse files Browse the repository at this point in the history
More details here:
#1151 (comment)
  • Loading branch information
Xanewok committed Dec 19, 2018
1 parent 7f04b38 commit 632f21a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/actions/hover.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1199,6 +1199,10 @@ pub mod test {
let temp_dir = tempfile::tempdir().unwrap().into_path();
config.target_dir = config::Inferrable::Specified(Some(temp_dir.clone()));
config.racer_completion = racer_fallback_completion;
// FIXME(#1195): This led to spurious failures on macOS; possibly
// because regular build and #[cfg(test)] did race or rls-analysis
// didn't lower them properly?
config.all_targets = false;

let config = Arc::new(Mutex::new(config));
let analysis = Arc::new(analysis::AnalysisHost::new(analysis::Target::Debug));
Expand Down

0 comments on commit 632f21a

Please sign in to comment.