mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 20:42:04 +00:00
Merge #11074
11074: Bump default CHALK_SOLVER_MAX_SIZE to 150 r=lnicola a=lnicola Fixes #11072 Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
This commit is contained in:
commit
851af5a52b
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ pub(crate) struct ChalkContext<'a> {
|
|||
fn create_chalk_solver() -> chalk_recursive::RecursiveSolver<Interner> {
|
||||
let overflow_depth =
|
||||
var("CHALK_OVERFLOW_DEPTH").ok().and_then(|s| s.parse().ok()).unwrap_or(300);
|
||||
let max_size = var("CHALK_SOLVER_MAX_SIZE").ok().and_then(|s| s.parse().ok()).unwrap_or(30);
|
||||
let max_size = var("CHALK_SOLVER_MAX_SIZE").ok().and_then(|s| s.parse().ok()).unwrap_or(150);
|
||||
chalk_recursive::RecursiveSolver::new(overflow_depth, max_size, Some(Cache::new()))
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue