summaryrefslogtreecommitdiff
path: root/build_extra/rust/get_rustc_info.py
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2018-11-30 03:27:41 -0500
committerRyan Dahl <ry@tinyclouds.org>2018-11-30 11:33:45 -0800
commitc5d8cf8eb6a6e84347b9379945f308f29a2fe5cb (patch)
tree306901036624b604e0d7d7c0e33c6d10ec39b713 /build_extra/rust/get_rustc_info.py
parentd43a4be0d291d2cb1fb4f5a9353b509e87f849eb (diff)
Use pylint.
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__