aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2022-11-18 10:14:54 -0800
committerJussi Pakkanen <jpakkane@gmail.com>2022-11-19 23:00:53 +0200
commitc642a7693edbcf1043f820941ce2da05406cc442 (patch)
tree1fad94d840f23c45c4a11912ecc50aff9881a397
parentb40e4de3c6cfd931a2c0d9ba8b798bfacd3662c6 (diff)
downloadmeson-c642a7693edbcf1043f820941ce2da05406cc442.zip
meson-c642a7693edbcf1043f820941ce2da05406cc442.tar.gz
meson-c642a7693edbcf1043f820941ce2da05406cc442.tar.bz2
modules/rust: stabilize
Mesa is using the rust module in production, so we should stabilize it.
-rw-r--r--docs/markdown/Rust-module.md3
-rw-r--r--docs/markdown/snippets/rust_module_stabilized.md3
-rw-r--r--mesonbuild/modules/rust.py2
3 files changed, 6 insertions, 2 deletions
diff --git a/docs/markdown/Rust-module.md b/docs/markdown/Rust-module.md
index 54834b7..3ca5302 100644
--- a/docs/markdown/Rust-module.md
+++ b/docs/markdown/Rust-module.md
@@ -6,9 +6,10 @@ authors:
years: [2020, 2021]
...
-# Unstable Rust module
+# Rust module
*(new in 0.57.0)*
+*(Stable since 1.0.0)*
**Note** Unstable modules make no backwards compatible API guarantees.
diff --git a/docs/markdown/snippets/rust_module_stabilized.md b/docs/markdown/snippets/rust_module_stabilized.md
new file mode 100644
index 0000000..e80d5c6
--- /dev/null
+++ b/docs/markdown/snippets/rust_module_stabilized.md
@@ -0,0 +1,3 @@
+## The Rust module is stable
+
+Mesa is using the rust module in production, so it's time to mark it as stable.
diff --git a/mesonbuild/modules/rust.py b/mesonbuild/modules/rust.py
index 3133327..42034af 100644
--- a/mesonbuild/modules/rust.py
+++ b/mesonbuild/modules/rust.py
@@ -50,7 +50,7 @@ class RustModule(ExtensionModule):
"""A module that holds helper functions for rust."""
- INFO = ModuleInfo('rust', '0.57.0', unstable=True)
+ INFO = ModuleInfo('rust', '0.57.0', stabilized='1.0.0')
def __init__(self, interpreter: 'Interpreter') -> None:
super().__init__(interpreter)