diff options
author | RabsRincon <ruben@rinconblanco.es> | 2019-03-20 16:20:24 +0100 |
---|---|---|
committer | RabsRincon <ruben@rinconblanco.es> | 2019-03-20 16:20:24 +0100 |
commit | 27536f3422ba314400e6499d58408412843b223c (patch) | |
tree | 27ec846f7c6bfd9fd053c620a1df6d9a0ff3f6c1 /lib/compilers/zig.js | |
parent | d76657fdfdbf4426d72d4b7cd2b155ce64b03af7 (diff) | |
download | compiler-explorer-27536f3422ba314400e6499d58408412843b223c.tar.gz compiler-explorer-27536f3422ba314400e6499d58408412843b223c.zip |
Fix Zig trunk
Closes #1304
Diffstat (limited to 'lib/compilers/zig.js')
-rw-r--r-- | lib/compilers/zig.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compilers/zig.js b/lib/compilers/zig.js index 84ef9d6d7..ff2b6f6e0 100644 --- a/lib/compilers/zig.js +++ b/lib/compilers/zig.js @@ -59,7 +59,7 @@ class ZigCompiler extends BaseCompiler { const outputDir = path.dirname(outputFilename); options.push('--cache-dir', outputDir, '--output-dir', outputDir, - '--name', this.filename(outputFilename)); + '--name', path.basename(outputFilename, '.s')); } else { // Older versions use a different command line interface (#1304) options.push('--cache-dir', path.dirname(outputFilename), |