summaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/rust.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2025-11-12 09:56:02 -0800
committerDylan Baker <dylan@pnwbakers.com>2025-11-19 10:48:48 -0800
commit5b2bdb4fcf7a685744876173c0ccabc014344b04 (patch)
treeeffddad42cc8c9995db2f73dc83ce556c6a11b24 /mesonbuild/compilers/rust.py
parente8286ab9a102823cb256bd859de1a9082679e79b (diff)
downloadmeson-5b2bdb4fcf7a685744876173c0ccabc014344b04.tar.gz
compilers: Remove Environment parameter from Compiler.get_assert_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 f7e392a57..0f83bb737 100644
--- a/mesonbuild/compilers/rust.py
+++ b/mesonbuild/compilers/rust.py
@@ -423,7 +423,7 @@ class RustCompiler(Compiler):
# pic is on by rustc
return []
- def get_assert_args(self, disable: bool, env: 'Environment') -> T.List[str]:
+ def get_assert_args(self, disable: bool) -> T.List[str]:
action = "no" if disable else "yes"
return ['-C', f'debug-assertions={action}', '-C', 'overflow-checks=no']