summaryrefslogtreecommitdiff
path: root/build_extra/rust/get_rustc_info.py
diff options
context:
space:
mode:
Diffstat (limited to 'build_extra/rust/get_rustc_info.py')
-rwxr-xr-xbuild_extra/rust/get_rustc_info.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/build_extra/rust/get_rustc_info.py b/build_extra/rust/get_rustc_info.py
index 1b61bdbc0..66751c20b 100755
--- a/build_extra/rust/get_rustc_info.py
+++ b/build_extra/rust/get_rustc_info.py
@@ -48,7 +48,7 @@ def get_ldflags(rustc_args):
# On Posix systems, this file is directly executable thanks to it's shebang.
# On Windows, we use a .cmd wrapper file.
if os.name == "nt":
- rustc_linker_base, rustc_linker_ext = path.splitext(__file__)
+ rustc_linker_base, _rustc_linker_ext = path.splitext(__file__)
rustc_linker = rustc_linker_base + ".cmd"
else:
rustc_linker = __file__