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

+1 -2
View File
@@ -331,13 +331,12 @@ macro_rules! call {
}
impl SourceProvider for RecordingHost<'_> {
#[cfg(all(target_os = "linux", target_env = "gnu"))]
fn match_pdf_regex(
&mut self,
request: &texrra_tex_core::execution::RegexRequest,
cancellation: Option<&Cancellation>,
) -> Result<texrra_tex_core::execution::RegexOutcome, String> {
// GNU matching consumes only kernel-supplied bytes and is pinned to
// Matching consumes only kernel-supplied bytes and is pinned to
// this executable on registered frontends. Its result is kernel state.
self.files.match_pdf_regex(request, cancellation)
}