Fix fuzz build
This commit is contained in:
@@ -10,7 +10,7 @@ use libfuzzer_sys::{fuzz_target, Corpus};
|
||||
use red_knot_python_semantic::types::check_types;
|
||||
use red_knot_python_semantic::{
|
||||
default_lint_registry, lint::RuleSelection, Db as SemanticDb, Program, ProgramSettings,
|
||||
PythonVersion, SearchPathSettings,
|
||||
PythonPlatform, PythonVersion, SearchPathSettings,
|
||||
};
|
||||
use ruff_db::files::{system_path_to_file, File, Files};
|
||||
use ruff_db::system::{DbWithTestSystem, System, SystemPathBuf, TestSystem};
|
||||
@@ -112,6 +112,7 @@ fn setup_db() -> TestDb {
|
||||
&db,
|
||||
&ProgramSettings {
|
||||
python_version: PythonVersion::default(),
|
||||
python_platform: PythonPlatform::default(),
|
||||
search_paths: SearchPathSettings::new(src_root),
|
||||
},
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user