Skip to content

fix: regenerate the prebuilt spec and test it in CI - #230

Open
tvanderstad wants to merge 2 commits into
mitex-rs:mainfrom
lockbook:travis/prebuilt-spec
Open

tvanderstad wants to merge 2 commits into
mitex-rs:mainfrom
lockbook:travis/prebuilt-spec

Conversation

@tvanderstad

Copy link
Copy Markdown

On machines without Typst, builds fall back to the prebuilt spec, which has drifted from packages/mitex/specs. 6 tests fail on that path since #214, and \partial converts to diff, which is no longer a valid Typst symbol.

This PR:

Builds without typst on PATH use the prebuilt spec, which CI never
exercised, so it drifted from packages/mitex/specs unnoticed. Six tests
fail on this path until the next commit regenerates it.
Builds without typst on PATH fall back to the prebuilt spec, which predates
spec changes such as mitex-rs#207: \partial converts to diff, \color is missing,
and six tests fail with --features mitex-spec-gen/prebuilt. The new
default.rkyv is byte-identical to what the generate path builds from these
specs, and brings over all 90 drifted entries.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant