From e285a05c2a27ad8c2888eb48a63532e72b8dee85 Mon Sep 17 00:00:00 2001 From: Karol Herbst Date: Wed, 24 May 2023 17:02:48 +0200 Subject: [PATCH] doc/rusticl: add Rust Update Policy Signed-off-by: Karol Herbst Part-of: --- docs/rusticl.rst | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/docs/rusticl.rst b/docs/rusticl.rst index e82fa8d..c6f4fc5 100644 --- a/docs/rusticl.rst +++ b/docs/rusticl.rst @@ -33,6 +33,29 @@ the occasional use of enums, structs or constants through the code base. If you need help ping ``karolherbst`` either in ``#dri-devel`` or ``#rusticl`` on OFTC. +Rust Update Policy +------------------ + +Given that for some distributions it's not feasible to keep up with the +pace of Rust, we promise to only bump the minimum required Rust version +following those rules: + +- Only up to the Rust requirement of other major Linux desktop + components, e.g.: + + - `Firefox ESR `__: + `Minimum Supported Rust Version: + `__ + + - latest `Linux Kernel Rust requirement + `__ + +- Only require a newer Rust version than stated by other rules if and only + if it's required to get around a bug inside rustc. + +As bug fixes might run into rustc compiler bugs, a rust version bump _can_ +happen on a stable branch as well. + Contributing ------------ -- 2.7.4