diff options
Diffstat (limited to 'lib/compilers/rust.js')
-rw-r--r-- | lib/compilers/rust.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/compilers/rust.js b/lib/compilers/rust.js index d6be3b5c7..3072e8db4 100644 --- a/lib/compilers/rust.js +++ b/lib/compilers/rust.js @@ -39,6 +39,8 @@ export class RustCompiler extends BaseCompiler { this.compiler.supportsIntel = true; this.compiler.supportsIrView = true; this.compiler.supportsRustMirView = true; + // Macro expansion through -Zunpretty=expanded is only available for Nightly + this.compiler.supportsRustMacroExpView = info.name === 'nightly' || info.semver === 'nightly'; this.compiler.irArg = ['--emit', 'llvm-ir']; this.linker = this.compilerProps('linker'); } |