xref: /aosp_15_r20/external/mesa3d/docs/rust.rst (revision 6104692788411f58d303aa86923a9ff6ecaded22)
1Rust
2====
3
4Rust Update Policy
5------------------
6
7Given that for some distributions it's not feasible to keep up with the
8pace of Rust, we promise to only bump the minimum required Rust version
9following those rules:
10
11-  Only up to the Rust requirement of other major Linux desktop
12   components, e.g.:
13
14   -  `Firefox ESR <https://whattrainisitnow.com/release/?version=esr>`__:
15      `Minimum Supported Rust Version:
16      <https://firefox-source-docs.mozilla.org/writing-rust-code/update-policy.html#schedule>`__
17
18   -  latest `Linux Kernel Rust requirement
19      <https://docs.kernel.org/process/changes.html#current-minimal-requirements>`__
20
21-  Only require a newer Rust version than stated by other rules if and only
22   if it's required to get around a bug inside rustc.
23
24As bug fixes might run into rustc compiler bugs, a rust version bump _can_
25happen on a stable branch as well.
26