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

Preallocate clippy's symbol table #1460

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion rls-rustc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ pub fn run() {
})
.collect::<Vec<_>>();

run_compiler(&args, &mut ShimCalls, None, None)
run_compiler(&args, &[], &mut ShimCalls, None, None)
})
.and_then(|result| result);
process::exit(result.is_err() as i32);
Expand Down
1 change: 1 addition & 0 deletions rls/src/build/rustc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ pub(crate) fn rustc(
// Replace stderr so we catch most errors.
run_compiler(
&args,
&clippy_lints::PREINTERNED_SYMBOLS,
&mut callbacks,
Some(Box::new(ReplacedFileLoader::new(changed))),
Some(Box::new(BufWriter(buf))),
Expand Down