diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2020-10-26 12:45:35 -0700 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2020-11-05 21:24:20 +0200 |
commit | 7860a6aeab9514391f02923a7f6357f094c8af68 (patch) | |
tree | 57e7b9bf1f89ab5e5d1133a97a550ea237527046 /docs/markdown/snippets | |
parent | be2c1a43000db0a84a76522b23b80d597e08f663 (diff) | |
download | meson-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/markdown/snippets')
-rw-r--r-- | docs/markdown/snippets/rust_std_option.md | 5 |
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. |