You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@
11
11
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:
12
12
13
13
```toml
14
-
rustc_plugin = "=0.12.0-nightly-2024-12-15"
14
+
rustc_plugin = "=0.13.0-nightly-2025-03-03"
15
15
```
16
16
17
17
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
44
44
45
45
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:
46
46
47
+
* v0.13 (`nightly-2023-03-02`) - rustc 1.86
47
48
* v0.12 (`nightly-2024-12-15`) - rustc 1.84
48
49
* v0.11 (`nightly-2024-12-01`) - rustc 1.84
49
50
* 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
0 commit comments