diff --git a/README.md b/README.md index f7b36fb5..823a6c41 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ The Rust compiler's interface is not stable, so the only sensible way to develop a Rust compiler plugin is by pinning to a specific nightly. Each version of `rustc_plugin` is pinned to one nightly, and you *have* to use the same nightly version that we do. Therefore each release of `rustc_plugin` has a semantic version number (e.g. `0.1.0`) and the nightly version is added as a prerelease label (e.g. `-nightly-2023-08-25`). You can add a dependency to your `Cargo.toml` like this: ```toml -rustc_plugin = "=0.7.4-nightly-2023-08-25" +rustc_plugin = "=0.8.0-nightly-2024-01-06" ``` We will treat a change to the nightly version as a breaking change, so the semantic version will be correspondingly updated as a breaking update. @@ -44,6 +44,7 @@ The `rustc_plugin` framework is responsible for marshalling arguments from the t Normally, Rust libraries have a [minimum supported Rust version][msrv] because they promise to not use any breaking features implemented after that version. Rust compiler plugins are the opposite — they have a **maximum** supported Rust version (MaxSRV). A compiler plugin cannot analyze programs that use features implemented after the release date of the plugin's toolchain. The MaxSRV for every version of `rustc_plugin` is listed below: +* v0.8 (`nightly-2024-01-06`) - rustc 1.76 * v0.7 (`nightly-2023-08-25`) - rustc 1.73 * v0.6 (`nightly-2023-04-12`) - rustc 1.69 @@ -52,7 +53,7 @@ Normally, Rust libraries have a [minimum supported Rust version][msrv] because t [Aquascope]: https://github.com/cognitive-engineering-lab/aquascope [Clippy]: https://github.com/rust-lang/rust-clippy [example]: https://github.com/cognitive-engineering-lab/rustc_plugin/tree/main/crates/rustc_plugin/examples/print-all-items -[docs]: https://cognitive-engineering-lab.github.io/rustc_plugin/v0.7.4-nightly-2023-08-25/rustc_plugin/ -[docs-utils]: https://cognitive-engineering-lab.github.io/rustc_plugin/v0.7.4-nightly-2023-08-25/rustc_utils/ +[docs]: https://cognitive-engineering-lab.github.io/rustc_plugin/v0.8.0-nightly-2024-01-06/rustc_plugin/ +[docs-utils]: https://cognitive-engineering-lab.github.io/rustc_plugin/v0.8.0-nightly-2024-01-06/rustc_utils/ [msrv]: https://doc.rust-lang.org/cargo/reference/manifest.html#the-rust-version-field diff --git a/crates/rustc_plugin/Cargo.toml b/crates/rustc_plugin/Cargo.toml index b4e4bd72..054cd2d4 100644 --- a/crates/rustc_plugin/Cargo.toml +++ b/crates/rustc_plugin/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rustc_plugin" -version = "0.8.0-nightly-2023-12-04" +version = "0.8.0-nightly-2024-01-06" edition = "2021" authors = ["Will Crichton "] description = "A framework for writing plugins that integrate with the Rust compiler" diff --git a/crates/rustc_utils/Cargo.toml b/crates/rustc_utils/Cargo.toml index b4f4aa5f..6943016b 100644 --- a/crates/rustc_utils/Cargo.toml +++ b/crates/rustc_utils/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rustc_utils" -version = "0.8.0-nightly-2023-12-04" +version = "0.8.0-nightly-2024-01-06" edition = "2021" authors = ["Will Crichton "] description = "Utilities for working with the Rust compiler"