aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2020-10-26 12:45:35 -0700
committerJussi Pakkanen <jpakkane@gmail.com>2020-11-05 21:24:20 +0200
commit7860a6aeab9514391f02923a7f6357f094c8af68 (patch)
tree57e7b9bf1f89ab5e5d1133a97a550ea237527046 /docs
parentbe2c1a43000db0a84a76522b23b80d597e08f663 (diff)
downloadmeson-7860a6aeab9514391f02923a7f6357f094c8af68.zip
meson-7860a6aeab9514391f02923a7f6357f094c8af68.tar.gz
meson-7860a6aeab9514391f02923a7f6357f094c8af68.tar.bz2
rust: implement support for --edition
Using the std option, so now `rust_std=..` will work. I've chosen to use "std" even though rust calls these "editions", as meson refers to language versions as "standards", which makes meson feel more uniform, and be less surprising. Fixes: #5100
Diffstat (limited to 'docs')
-rw-r--r--docs/markdown/snippets/rust_std_option.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/markdown/snippets/rust_std_option.md b/docs/markdown/snippets/rust_std_option.md
new file mode 100644
index 0000000..f2efdb9
--- /dev/null
+++ b/docs/markdown/snippets/rust_std_option.md
@@ -0,0 +1,5 @@
+## Rust now has a a standard option
+
+Rust calls these `editions`, however, meson generally refers to such language
+versions as "standards", or "std" for short. Rust uses "std" to keep normalize
+it with other languages.