support latexmk version 4.86 (#1410)
Some checks failed
CI / Build (aarch64-unknown-linux-gnu) (push) Failing after 4s
CI / Build (armv7-unknown-linux-gnueabihf) (push) Failing after 4s
CI / Build (x86_64-unknown-linux-gnu) (push) Failing after 3s
CI / Build (x86_64-unknown-linux-musl) (push) Failing after 4s
CI / Build (aarch64-apple-darwin) (push) Has been cancelled
CI / Build (x86_64-apple-darwin) (push) Has been cancelled
CI / Build (aarch64-pc-windows-msvc) (push) Has been cancelled
CI / Build (i686-pc-windows-msvc) (push) Has been cancelled
CI / Build (x86_64-pc-windows-msvc) (push) Has been cancelled
CI / MSRV (push) Has been cancelled

Unfortunately, version 4.86 changed the string for -dir-report-only again, breaking the parser.
This commit is contained in:
Lua 🌒 2025-06-13 11:34:22 -03:00 committed by GitHub
parent d1f6f1c184
commit 70435c4bd8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -104,7 +104,10 @@ mod v484 {
/// '$aux_dir', '$out_dir', [...]
fn extract_dirs(lines: Lines) -> Option<(String, String)> {
let mut it = lines
.skip_while(|line| !line.starts_with("Latexmk: Normalized aux dir and out dirs:"))
.skip_while(|line| {
!(line.starts_with("Latexmk: Normalized aux dir and out dirs:")
|| line.starts_with("Latexmk: Normalized aux dir, out dir, out2 dir:"))
})
.nth(1)?
.split(',');