Skip to content

Commit

Permalink
Release v0.8.0 at nightly-2024-01-6
Browse files Browse the repository at this point in the history
  • Loading branch information
willcrichton committed Jan 7, 2024
1 parent 427e9b0 commit ad1aa25
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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

Expand All @@ -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

2 changes: 1 addition & 1 deletion crates/rustc_plugin/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"]
description = "A framework for writing plugins that integrate with the Rust compiler"
Expand Down
2 changes: 1 addition & 1 deletion crates/rustc_utils/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"]
description = "Utilities for working with the Rust compiler"
Expand Down

0 comments on commit ad1aa25

Please sign in to comment.