aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/rust.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2020-09-17 13:33:27 -0700
committerDylan Baker <dylan@pnwbakers.com>2020-09-24 12:14:13 -0700
commit98416e7f755dc9d660349556400363e734ac7828 (patch)
tree8c919837fc05fab0f7f6a1ca8827acb9304ecc06 /mesonbuild/compilers/rust.py
parent02658fdda47f537cff3f52c7e1a97b0ae2d3525b (diff)
downloadmeson-98416e7f755dc9d660349556400363e734ac7828.zip
meson-98416e7f755dc9d660349556400363e734ac7828.tar.gz
meson-98416e7f755dc9d660349556400363e734ac7828.tar.bz2
compilers: put name_string method in base compiler
Every language had the exact same implementation
Diffstat (limited to 'mesonbuild/compilers/rust.py')
-rw-r--r--mesonbuild/compilers/rust.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/mesonbuild/compilers/rust.py b/mesonbuild/compilers/rust.py
index a47d6ed..dd036a3 100644
--- a/mesonbuild/compilers/rust.py
+++ b/mesonbuild/compilers/rust.py
@@ -45,9 +45,6 @@ class RustCompiler(Compiler):
def needs_static_linker(self):
return False
- def name_string(self):
- return ' '.join(self.exelist)
-
def sanity_check(self, work_dir, environment):
source_name = os.path.join(work_dir, 'sanity.rs')
output_name = os.path.join(work_dir, 'rusttest')