Run cancellable pdfTeX matching in native frontends
This commit is contained in:
1 parent
091458d329
commit
6e573dc1ce
21 files changed
+665
-9
No files matched your search
@@ -73,6 +73,16 @@ pub struct CompileRequest {
|
||||
pub terminal: bool,
|
||||
pub observer: Option<Arc<dyn CompileObserver>>,
|
||||
}
|
||||
/// Register this executable as the isolated pdfTeX matcher and handle its
|
||||
/// internal worker invocation. Call before parsing application arguments, and
|
||||
/// exit with the returned status when the invocation was handled.
|
||||
pub fn dispatch_pdf_regex_worker() -> Option<i32> {
|
||||
#[cfg(all(target_os = "linux", target_env = "gnu"))]
|
||||
return crate::native_regex::dispatch();
|
||||
#[cfg(not(all(target_os = "linux", target_env = "gnu")))]
|
||||
None
|
||||
}
|
||||
|
||||
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
|
||||
pub enum CompileStage {
|
||||
Prepared,
|
||||
|
||||
Reference in new issue
Block a user