Skip to content

Commit a75bffc

Browse files
committed
Increase Chalk fuel from 100 to 1000
The old value was for the old chalk-engine solver, nowadays the newer chalk-recursive solver is used. The new solver currently uses fuel a bit more quickly, so a higher value is needed. Running analysis-stats showed that a value of 100 increases the amount of unknown types, while for a value of 1000 it's staying mostly the same.
1 parent fc627e6 commit a75bffc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/hir-ty/src/traits.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ use crate::{
1818
};
1919

2020
/// This controls how much 'time' we give the Chalk solver before giving up.
21-
const CHALK_SOLVER_FUEL: i32 = 100;
21+
const CHALK_SOLVER_FUEL: i32 = 1000;
2222

2323
#[derive(Debug, Copy, Clone)]
2424
pub(crate) struct ChalkContext<'a> {

0 commit comments

Comments
 (0)