Skip to content

Conversation

@kkysen
Copy link
Contributor

@kkysen kkysen commented Dec 29, 2025

We need to pin all of the dependencies to versions that work with nightly-2022-08-08 (1.65), as c2rust-bitfields-derive is used by transpiled code.

We previously already pinned quote, but now we need to pin proc-macro2, too, as syn needs to be pinned as well to use a newer proc-macro2.

This should fix the CI crash happening here, which I think occurred when proc-macro2 had a new release.

@Rua, this should hopefully fix that CI error you were seeing.

We need to pin all of the dependencies to versions
that work with `nightly-2022-08-08` (1.65),
as `c2rust-bitfields-derive` is used by transpiled code.

We previously already pinned `quote`,
but now we need to pin `proc-macro2`, too,
as `syn` needs to be pinned as well to use a newer `proc-macro2`.

This should fix the CI crash happening [here](https://github.com/immunant/c2rust/actions/runs/20573790217/job/59086242358),
which I think occurred when `proc-macro2` had a new release.
@kkysen kkysen force-pushed the kkysen/pin-c2rust-bitfields-derive-deps branch from 45e3652 to b09677d Compare December 29, 2025 23:41
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.

2 participants