Skip to content

Run Miri on CI, make tendril compatible with strict provenance - #781

Merged
SimonSapin merged 4 commits into
mainfrom
strict-provenance
Aug 24, 2026
Merged

Run Miri on CI, make tendril compatible with strict provenance#781
SimonSapin merged 4 commits into
mainfrom
strict-provenance

Conversation

@SimonSapin

Copy link
Copy Markdown
Member

Fixes servo/tendril#64, which the first commit is based on.

Noratrieb and others added 2 commits August 24, 2026 18:10
This replaces the `ptr` in `Tendril` with a `NonNull<Header<A>>`
instead of a `NonZeroUsize`, making it compatible with miri
`MIRIFLAGS=-Zmiri-strict-provenance`.
Signed-off-by: Simon Sapin <simon@igalia.com>
@SimonSapin SimonSapin changed the title Make tendril compatible with string provenance, run Miri on CI Make tendril compatible with strict provenance, run Miri on CI Aug 24, 2026
@github-actions github-actions Bot added the V-breaking Breaking change label Aug 24, 2026
Signed-off-by: Simon Sapin <simon@igalia.com>
This allows running Tendril tests under "cross-compiled" Miri
without compiling criterion, which depends on alloca
which requires a C toolchain.

Signed-off-by: Simon Sapin <simon@igalia.com>
@SimonSapin SimonSapin changed the title Make tendril compatible with strict provenance, run Miri on CI Run Miri on CI, make tendril compatible with strict provenance Aug 24, 2026
@github-actions github-actions Bot added V-breaking Breaking change and removed V-breaking Breaking change labels Aug 24, 2026
Comment thread tendril/Cargo.toml

[dev-dependencies]
rand = { workspace = true }
criterion = { workspace = true }

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As dev-dependencies cannot be optional, this allows running Tendril tests under "cross-compiling" Miri without building criterion which depends on alloca which requires a C toolchain

@SimonSapin
SimonSapin added this pull request to the merge queue Aug 24, 2026
Merged via the queue into main with commit 49aa507 Aug 24, 2026
11 checks passed
@SimonSapin
SimonSapin deleted the strict-provenance branch August 24, 2026 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

V-breaking Breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants