aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers
diff options
context:
space:
mode:
authorMats Larsen <me@supergrecko.com>2021-07-24 17:56:06 +0200
committerGitHub <noreply@github.com>2021-07-24 10:56:06 -0500
commitaa431e1336f9ef945fde9f9d95d7fe9090da1808 (patch)
tree1c2d3918ba2b3e628e8b74323bae4682c4cf06d0 /lib/compilers
parentff75d02bec90eeb43d451b767d18040622e63078 (diff)
downloadcompiler-explorer-aa431e1336f9ef945fde9f9d95d7fe9090da1808.tar.gz
compiler-explorer-aa431e1336f9ef945fde9f9d95d7fe9090da1808.zip
Add rustc MIR output view (#2795)
* Add Rustc MIR representation view * Enable MIR view for rust-cg-gcc
Diffstat (limited to 'lib/compilers')
-rw-r--r--lib/compilers/rust.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/compilers/rust.js b/lib/compilers/rust.js
index a27fbbff6..d6be3b5c7 100644
--- a/lib/compilers/rust.js
+++ b/lib/compilers/rust.js
@@ -38,6 +38,7 @@ export class RustCompiler extends BaseCompiler {
super(info, env);
this.compiler.supportsIntel = true;
this.compiler.supportsIrView = true;
+ this.compiler.supportsRustMirView = true;
this.compiler.irArg = ['--emit', 'llvm-ir'];
this.linker = this.compilerProps('linker');
}