From 7860a6aeab9514391f02923a7f6357f094c8af68 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Mon, 26 Oct 2020 12:45:35 -0700 Subject: 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 --- docs/markdown/snippets/rust_std_option.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 docs/markdown/snippets/rust_std_option.md (limited to 'docs') 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. -- cgit v1.1