Skip to content

Port engine_xetex to Rust - #1317

Draft
CraftSpider wants to merge 117 commits into
tectonic-typesetting:masterfrom
CraftSpider:engine-port
Draft

Port engine_xetex to Rust#1317
CraftSpider wants to merge 117 commits into
tectonic-typesetting:masterfrom
CraftSpider:engine-port

Port begin_token_list, stack_size, and max_in_stack

5947743
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Aug 23, 2026 in 0s

33.56% (+2.04%) compared to d2224d9

View this Pull Request on Codecov

33.56% (+2.04%) compared to d2224d9

Details

Codecov Report

❌ Patch coverage is 55.47803% with 2999 lines in your changes missing coverage. Please review.
✅ Project coverage is 33.56%. Comparing base (d2224d9) to head (5947743).

Files with missing lines Patch % Lines
crates/engine_xetex/xetex/xetex_bindings.h 5.85% 0 Missing and 1157 partials ⚠️
crates/engine_xetex/src/c_api/output.rs 74.12% 353 Missing and 46 partials ⚠️
crates/engine_xetex/src/c_api/scaled_math.rs 29.57% 229 Missing and 2 partials ⚠️
crates/engine_xetex/src/c_api/engine/memory.rs 47.77% 129 Missing ⚠️
crates/engine_xetex/src/c_api/dvi.rs 58.42% 73 Missing and 43 partials ⚠️
crates/engine_xetex/xetex/xetex-xetexd.h 1.70% 0 Missing and 115 partials ⚠️
crates/engine_xetex/src/c_api/errors.rs 53.84% 101 Missing and 7 partials ⚠️
crates/engine_xetex/src/c_api/engine.rs 88.70% 83 Missing and 17 partials ⚠️
crates/engine_xetex/xetex/xetex-linebreak.c 57.00% 33 Missing and 59 partials ⚠️
crates/engine_xetex/xetex/xetex-ext.c 15.15% 60 Missing and 24 partials ⚠️
... and 21 more
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1317      +/-   ##
==========================================
+ Coverage   31.51%   33.56%   +2.04%     
==========================================
  Files         275      285      +10     
  Lines      180823   186286    +5463     
  Branches   180823   186286    +5463     
==========================================
+ Hits        56994    62520    +5526     
- Misses      44722    45930    +1208     
+ Partials    79107    77836    -1271     
Components Coverage Δ
tectonic 51.35% <ø> (ø)
bridge_core 37.18% <89.28%> (+0.27%) ⬆️
bridge_flate 38.82% <ø> (ø)
bridge_fontconfig 95.67% <ø> (ø)
bridge_freetype2 92.70% <ø> (ø)
bridge_graphite2 42.47% <ø> (ø)
bridge_harfbuzz 82.83% <ø> (ø)
bridge_icu ∅ <ø> (∅)
bridge_png 100.00% <ø> (ø)
bundles 40.84% <ø> (ø)
cfg_support 94.84% <ø> (ø)
dep_support 0.00% <ø> (ø)
docmodel 84.87% <ø> (ø)
engine_bibtex 67.46% <ø> (ø)
engine_spx2html 0.00% <ø> (ø)
engine_xdvipdfmx 64.30% <ø> (ø)
engine_xetex 39.47% <55.34%> (+3.74%) ⬆️
errors 47.61% <ø> (ø)
geturl 28.20% <ø> (ø)
io_base 76.11% <ø> (ø)
pdf_io 18.50% <ø> (ø)
status_base 81.92% <ø> (ø)
xdv 55.28% <ø> (ø)
xetex_format 23.31% <ø> (ø)
xetex_layout 58.44% <50.00%> (-1.13%) ⬇️

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.