aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/mrustc.js
diff options
context:
space:
mode:
authorJeremy Rifkin <51220084+jeremy-rifkin@users.noreply.github.com>2023-01-17 12:31:49 -0500
committerJeremy Rifkin <51220084+jeremy-rifkin@users.noreply.github.com>2023-01-17 12:31:49 -0500
commit6207cb2d6e30d709c29175aa9a94707a0f9934d1 (patch)
tree5e51c3ea00760b5452d128d3cf4f54f0c511d65d /lib/compilers/mrustc.js
parent68aa631366bfb5e6efd74f03326795e70894019a (diff)
downloadcompiler-explorer-6207cb2d6e30d709c29175aa9a94707a0f9934d1.tar.gz
compiler-explorer-6207cb2d6e30d709c29175aa9a94707a0f9934d1.zip
npm run lint to get const fixesgh-5871
Diffstat (limited to 'lib/compilers/mrustc.js')
-rw-r--r--lib/compilers/mrustc.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compilers/mrustc.js b/lib/compilers/mrustc.js
index b608ebcfd..12228d46e 100644
--- a/lib/compilers/mrustc.js
+++ b/lib/compilers/mrustc.js
@@ -38,7 +38,7 @@ export class MrustcCompiler extends BaseCompiler {
// In our case, the actual file in -o is not even created because we are
// faking the last step (C compilation).
// Craft the 'outname' to have the intermediate .c file writen in outputFilename.
- let outname = path.join(
+ const outname = path.join(
path.dirname(this.filename(outputFilename)),
path.basename(this.filename(outputFilename), '.c'),
);