diff options
author | Matt Godbolt <matt@godbolt.org> | 2016-12-23 14:58:38 -0600 |
---|---|---|
committer | Matt Godbolt <matt@godbolt.org> | 2016-12-23 14:58:38 -0600 |
commit | c4411ff2a135893b13d49a65c7da613caa93d6ba (patch) | |
tree | 3bd28dfb0e437ad5bcf7f799a8ad85b68cd09555 /lib/compilers/rust.js | |
parent | 314c062c3afc992c6d0d79c9f46498db46b5e128 (diff) | |
download | compiler-explorer-c4411ff2a135893b13d49a65c7da613caa93d6ba.tar.gz compiler-explorer-c4411ff2a135893b13d49a65c7da613caa93d6ba.zip |
Use -C debuglevel=1 to maybe mitigate #79
Diffstat (limited to 'lib/compilers/rust.js')
-rw-r--r-- | lib/compilers/rust.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/compilers/rust.js b/lib/compilers/rust.js index 7e98c69c5..c77a7d6f0 100644 --- a/lib/compilers/rust.js +++ b/lib/compilers/rust.js @@ -28,7 +28,7 @@ function compileRust(info, env) { var compiler = new Compile(info, env); compiler.compiler.supportsIntel = true; compiler.optionsForFilter = function (filters, outputFilename) { - var options = ['-g', '-o', this.filename(outputFilename)]; + var options = ['-C', 'debuginfo=1', '-o', this.filename(outputFilename)]; // TODO: binary not supported(?) if (!filters.binary) { options = options.concat('--emit', 'asm'); @@ -40,4 +40,4 @@ function compileRust(info, env) { return compiler.initialise(); } -module.exports = compileRust;
\ No newline at end of file +module.exports = compileRust; |