We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afca23b commit c8dd652Copy full SHA for c8dd652
PUBLISHING.md
@@ -0,0 +1,17 @@
1
+# Publishing to crates.io
2
+
3
+Publishing `compiler-builtins` to crates.io takes a few steps unfortunately.
4
+It's not great, but it works for now. PRs to improve this process would be
5
+greatly appreciated!
6
7
+1. Make sure you've got a clean working tree and it's updated with the latest
8
+ changes on `master`
9
+2. Edit `Cargo.toml` to bump the version number
10
+3. Commit this change
11
+4. Run `git tag` to create a tag for this version
12
+5. Delete the `libm/Cargo.toml` file
13
+6. Comment out the `[dev-dependencies]` section of `Cargo.toml`
14
+7. Run `cargo +nightly publish --allow-dirty`
15
+8. Push the tag
16
+9. Push the commit
17
+10. Undo changes to `Cargo.toml` and the `libm` submodule
0 commit comments