diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2021-12-16 22:50:15 -0500 |
---|---|---|
committer | Eli Schwartz <eschwartz@archlinux.org> | 2021-12-30 15:15:25 -0500 |
commit | 9f384e92075022af73f1a75bb746b71ea11b2f21 (patch) | |
tree | d32fcde29bd80ac4a6b345a7509ab07da6248cd8 /mesonbuild/compilers/cuda.py | |
parent | 19c9f32cefdffb7d633eedada2b31059301fb106 (diff) | |
download | meson-9f384e92075022af73f1a75bb746b71ea11b2f21.zip meson-9f384e92075022af73f1a75bb746b71ea11b2f21.tar.gz meson-9f384e92075022af73f1a75bb746b71ea11b2f21.tar.bz2 |
fix type annotations for compiler toolchain rpaths
We pass around a tuple of rpaths, because rpaths *can* be more than one.
But all the annotations said it would be a str instead.
Diffstat (limited to 'mesonbuild/compilers/cuda.py')
-rw-r--r-- | mesonbuild/compilers/cuda.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/compilers/cuda.py b/mesonbuild/compilers/cuda.py index 1f396e4..32e75a5 100644 --- a/mesonbuild/compilers/cuda.py +++ b/mesonbuild/compilers/cuda.py @@ -706,7 +706,7 @@ class CudaCompiler(Compiler): return self._to_host_flags(self.host_compiler.get_buildtype_linker_args(buildtype), _Phase.LINKER) def build_rpath_args(self, env: 'Environment', build_dir: str, from_dir: str, - rpath_paths: str, build_rpath: str, + rpath_paths: T.Tuple[str, ...], build_rpath: str, install_rpath: str) -> T.Tuple[T.List[str], T.Set[bytes]]: (rpath_args, rpath_dirs_to_remove) = self.host_compiler.build_rpath_args( env, build_dir, from_dir, rpath_paths, build_rpath, install_rpath) |