Skip to content

Commit 45d890c

Browse files
committed
Update README
1 parent fb629b4 commit 45d890c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
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:
1212

1313
```toml
14-
rustc_plugin = "=0.12.0-nightly-2024-12-15"
14+
rustc_plugin = "=0.13.0-nightly-2025-03-03"
1515
```
1616

1717
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
4444

4545
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:
4646

47+
* v0.13 (`nightly-2023-03-02`) - rustc 1.86
4748
* v0.12 (`nightly-2024-12-15`) - rustc 1.84
4849
* v0.11 (`nightly-2024-12-01`) - rustc 1.84
4950
* v0.10 (`nightly-2024-05-20`) - rustc 1.79
@@ -59,6 +60,6 @@ Normally, Rust libraries have a [minimum supported Rust version][msrv] because t
5960
[Argus]: https://github.com/cognitive-engineering-lab/argus
6061
[Clippy]: https://github.com/rust-lang/rust-clippy
6162
[example]: https://github.com/cognitive-engineering-lab/rustc_plugin/tree/main/crates/rustc_plugin/examples/print-all-items
62-
[docs]: https://cognitive-engineering-lab.github.io/rustc_plugin/v0.12.0-nightly-2024-12-15/rustc_plugin/
63-
[docs-utils]: https://cognitive-engineering-lab.github.io/rustc_plugin/v0.12.0-nightly-2024-12-15/rustc_utils/
63+
[docs]: https://cognitive-engineering-lab.github.io/rustc_plugin/v0.13.0-nightly-2025-03-03/rustc_plugin/
64+
[docs-utils]: https://cognitive-engineering-lab.github.io/rustc_plugin/v0.13.0-nightly-2025-03-03/rustc_utils/
6465
[msrv]: https://doc.rust-lang.org/cargo/reference/manifest.html#the-rust-version-field

0 commit comments

Comments
 (0)