summaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/rust.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2025-11-13 09:37:58 -0800
committerDylan Baker <dylan@pnwbakers.com>2025-11-19 10:48:48 -0800
commit249c22df004e971bdc3d4121f526358e7552591e (patch)
tree242700aa239812629553f938ee88008845de1bb6 /mesonbuild/compilers/rust.py
parent81bd5d3fe409dd46cad307fbb18703fda1261e38 (diff)
downloadmeson-249c22df004e971bdc3d4121f526358e7552591e.tar.gz
compilers: Remove Environment parameter from Compiler.get_option_std_args
Diffstat (limited to 'mesonbuild/compilers/rust.py')
-rw-r--r--mesonbuild/compilers/rust.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/compilers/rust.py b/mesonbuild/compilers/rust.py
index 6b76a47af..da0c7ee1d 100644
--- a/mesonbuild/compilers/rust.py
+++ b/mesonbuild/compilers/rust.py
@@ -329,7 +329,7 @@ class RustCompiler(Compiler):
# provided by the linker flags.
return []
- def get_option_std_args(self, target: BuildTarget, env: Environment, subproject: T.Optional[str] = None) -> T.List[str]:
+ def get_option_std_args(self, target: BuildTarget, subproject: T.Optional[str] = None) -> T.List[str]:
args = []
std = self.get_compileropt_value('std', target, subproject)
assert isinstance(std, str)