From 5290a09d2a230d8f14ad102a376b45d7a0893ae4 Mon Sep 17 00:00:00 2001 From: Karol Herbst Date: Mon, 29 Jul 2024 16:49:59 +0200 Subject: [PATCH] docs: move rust update policy Reviewed-by: Eric Engestrom Part-of: --- docs/index.rst | 1 + docs/rust.rst | 25 +++++++++++++++++++++++++ docs/rusticl.rst | 23 ----------------------- 3 files changed, 26 insertions(+), 23 deletions(-) create mode 100644 docs/rust.rst diff --git a/docs/index.rst b/docs/index.rst index 551320be8b9..6f4bb34b32e 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -112,6 +112,7 @@ Linux, FreeBSD, and other operating systems. devinfo codingstyle submittingpatches + rust releasing release-calendar dispatch diff --git a/docs/rust.rst b/docs/rust.rst new file mode 100644 index 00000000000..41155f74b3f --- /dev/null +++ b/docs/rust.rst @@ -0,0 +1,25 @@ +Rust +==== + +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. diff --git a/docs/rusticl.rst b/docs/rusticl.rst index 3080c25e9c6..1697780dd5a 100644 --- a/docs/rusticl.rst +++ b/docs/rusticl.rst @@ -49,29 +49,6 @@ 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 ------------