feat: support --feature and --pdf-standard. (#1596)

This commit is contained in:
Myriad-Dreamin 2025-03-28 17:42:03 +08:00 committed by GitHub
parent e443c3172b
commit 90f9949f8c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 289 additions and 229 deletions

View file

@ -154,6 +154,8 @@ pub fn run_with_sources<T>(source: &str, f: impl FnOnce(&mut LspUniverse, PathBu
EntryState::new_rooted(root.as_path().into(), None),
ExportTarget::Paged,
Default::default(),
Default::default(),
LspUniverseBuilder::resolve_package(None, None),
Arc::new(
LspUniverseBuilder::resolve_fonts(CompileFontArgs {
ignore_system_fonts: true,
@ -161,7 +163,6 @@ pub fn run_with_sources<T>(source: &str, f: impl FnOnce(&mut LspUniverse, PathBu
})
.unwrap(),
),
LspUniverseBuilder::resolve_package(None, None),
);
let sources = source.split("-----");