Enable the portable PDF matching primitives in Windows builds

This commit is contained in:
gloamxun committed 2026-12-02 19:06:53 +08:00
1 parent 2b91828b45
commit cd891494e9
9 files changed
+6 -28

No files matched your search

@@ -14,7 +14,6 @@ mod direction;
mod dvi;
pub use direction::DirectionBoundary;
mod engine;
#[cfg(all(target_os = "linux", target_env = "gnu"))]
pub use engine::pdf_match::{RegexOutcome, RegexRequest, match_pdf_regex};
mod font_catalog;
mod fonts;
@@ -235,7 +234,6 @@ pub struct GeneratedInput {
/// File lookup belongs to the host. Execution never shells out to TeX or
/// searches a different engine when a file/primitive is absent.
pub trait SourceProvider {
#[cfg(all(target_os = "linux", target_env = "gnu"))]
fn match_pdf_regex(
&mut self,
request: &RegexRequest,