mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-01 13:34:38 +00:00
583 B
583 B
Publishing to crates.io
Publishing compiler-builtins to crates.io takes a few steps unfortunately.
It's not great, but it works for now. PRs to improve this process would be
greatly appreciated!
- Make sure you've got a clean working tree and it's updated with the latest
changes on
master - Edit
Cargo.tomlto bump the version number - Commit this change
- Run
git tagto create a tag for this version - Delete the
libm/Cargo.tomlfile - Run
cargo +nightly publish - Push the tag
- Push the commit
- Undo changes to
Cargo.tomland thelibmsubmodule