transpile: update generated nightly to nightly-2023-04-15 (1.70.0) for syn v2.0.107 and cargo's sparse registry
#1422
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
c2rust-bitfields-derivedepends onsyn v2.0. Without aCargo.lock, like in transpiled projects (as opposed toc2rustitself), this will resolve tosyn v2.0.107, which requires Rust 1.68, but the generatedrust-toolchain.tomluses Rust 1.65 (the same as our own nightly). This is currently breaking CI for thec2rust-instrumenttests, and will also break CI forc2rust-testsuiteonce #1418 lands (a bug fix).Furthermore, the old git-based registry fetching is extremely slow in CI, so when #1227 lands and switches to stable, we also want Rust 1.70 for
cargo's sparse registry. Due to stable crates now building on stable but testing their output on nightly, it is very difficult to correctly cache.Updating the nightly of their output to the earliest to have the sparse registry should fix this.
The combination of this, #1418, #1419, #1420, and #1421 has been tested to work on
libxml2: