Skip to content

Release 0.20.0 #1203

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Feb 25, 2025
Merged

Release 0.20.0 #1203

merged 9 commits into from
Feb 25, 2025

Conversation

kkysen
Copy link
Contributor

@kkysen kkysen commented Feb 24, 2025

Following as much from c2rust/wiki/Release-Process as still works/applies, plus some extra additions, I ...

  • cargo outdated -R: doesn't work due to unknown print request split-debuginfo
  • cargo update: doesn't work because of old nightly
  • cargo clippy:
    • cargo clippy --fix
    • Other trivial cargo clippy fixes
  • cargo fmt --check
  • Updated versions from 0.19.0 to 0.20.0.
  • Specified missing versions for relative dependencies.
  • cargo build
  • cargo +stable build -p c2rust
  • Set publish = false in crates that are unstable due to #![feature(rustc_private)].

Then I will publish the crates in this order with cargo +stable -p $package:

  • c2rust-asm-casts
  • c2rust-ast-builder
  • c2rust-ast-printer
  • c2rust-build-paths
  • c2rust-ast-exporter
  • c2rust-bitfields-derive
  • c2rust-bitfields
  • c2rust-transpile
  • c2rust

or if this works, then I'll use this:

cargo +nightly publish --workspace --dry-run -Z package-workspace --exclude c2rust-analysis-rt --exclude c2rust-instrument --exclude c2rust-pdg --exclude c2rust-analyze

I need to use cargo +stable for this because the pinned nightly does not correctly resolve the Cargo.lock for a workspace, and thus tries to incompatibly update it.

@kkysen kkysen requested a review from fw-immunant February 24, 2025 13:31
Copy link
Contributor

@fw-immunant fw-immunant left a comment

Choose a reason for hiding this comment

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

LGTM. 🚀

@kkysen kkysen merged commit 3e0183e into master Feb 25, 2025
9 checks passed
@kkysen kkysen deleted the kkysen/release-0.20.0 branch February 25, 2025 07:45
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.

Cannot install with "cargo install c2rust" Latest version on crates.io is 0.18.0 instead of 0.19.0
2 participants