diff --git a/meson.build b/meson.build index 61d76eeab1f..04d89987311 100644 --- a/meson.build +++ b/meson.build @@ -24,7 +24,14 @@ project( version : files('VERSION'), license : 'MIT', meson_version : '>= 0.60', - default_options : ['buildtype=debugoptimized', 'b_ndebug=if-release', 'c_std=c11', 'cpp_std=c++17', 'rust_std=2021'] + default_options : [ + 'buildtype=debugoptimized', + 'b_ndebug=if-release', + 'c_std=c11', + 'cpp_std=c++17', + 'rust_std=2021', + 'build.rust_std=2021', + ], ) cc = meson.get_compiler('c')