summaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/cuda.py
diff options
context:
space:
mode:
Diffstat (limited to 'mesonbuild/compilers/cuda.py')
-rw-r--r--mesonbuild/compilers/cuda.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/compilers/cuda.py b/mesonbuild/compilers/cuda.py
index 4bf847c60..68df39bc3 100644
--- a/mesonbuild/compilers/cuda.py
+++ b/mesonbuild/compilers/cuda.py
@@ -580,7 +580,7 @@ class CudaCompiler(Compiler):
cmdlist = self.exelist + ['--run', f'"{binary_name}"']
try:
- stdo, stde = self.run_sanity_check(env, cmdlist, work_dir)
+ stdo, stde = self.run_sanity_check(cmdlist, work_dir)
except EnvironmentException:
raise EnvironmentException(f'Executables created by {self.language} compiler {self.name_string()} are not runnable.')