compilers: Populate Rust and Vala compiler ids

These two have only one implementation, so just name them as they are
pull/814/head
Nirbheek Chauhan 8 years ago
parent b89c52e844
commit 4ceaa395b5
  1. 4
      mesonbuild/compilers.py

@ -1259,7 +1259,7 @@ class ValaCompiler(Compiler):
self.language = 'vala'
super().__init__(exelist, version)
self.version = version
self.id = 'unknown'
self.id = 'valac'
self.is_cross = False
def name_string(self):
@ -1293,7 +1293,7 @@ class RustCompiler(Compiler):
def __init__(self, exelist, version):
self.language = 'rust'
super().__init__(exelist, version)
self.id = 'unknown'
self.id = 'rustc'
def needs_static_linker(self):
return False

Loading…
Cancel
Save