diff options
author | Xavier Claessens <xavier.claessens@collabora.com> | 2018-05-16 19:51:53 -0400 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2018-06-06 20:02:37 +0000 |
commit | 9b791881ed61e3c9c68599c231337ffc8f5769b0 (patch) | |
tree | 0ae65fa37c32b9b23a72c4778751704417c71628 | |
parent | 7fbe10ac8d4c297b515145b319814a2f5caae60b (diff) | |
download | meson-9b791881ed61e3c9c68599c231337ffc8f5769b0.zip meson-9b791881ed61e3c9c68599c231337ffc8f5769b0.tar.gz meson-9b791881ed61e3c9c68599c231337ffc8f5769b0.tar.bz2 |
compilers: Use RUSTFLAGS from the env as default rust_args value
-rw-r--r-- | mesonbuild/compilers/compilers.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mesonbuild/compilers/compilers.py b/mesonbuild/compilers/compilers.py index a9ab29e..0022b67 100644 --- a/mesonbuild/compilers/compilers.py +++ b/mesonbuild/compilers/compilers.py @@ -65,7 +65,8 @@ cflags_mapping = {'c': 'CFLAGS', 'objcpp': 'OBJCXXFLAGS', 'fortran': 'FFLAGS', 'd': 'DFLAGS', - 'vala': 'VALAFLAGS'} + 'vala': 'VALAFLAGS', + 'rust': 'RUSTFLAGS'} # All these are only for C-like languages; see `clike_langs` above. |