On Thu, May 11, 2017 at 5:15 PM, Jeff Muizelaar <jmuizel...@mozilla.com> wrote:
> On Fri, Apr 14, 2017 at 10:46 AM, Nathan Froyd <nfr...@mozilla.com> wrote:
>> With these options, you get a browser that runs quickly (i.e. no DEBUG
>> assertions in C++ code), but still lets you debug the Rust code you
>> might be working on, ideally with faster compile times than you might
>> get otherwise.  --enable-debug implies --enable-debug-rust, of course.
>
> From my reading of config/rules.mk and experience it looks like
> --enable-rust-debug does not disable optimizations in Rust code. With
> opt-level=1 Rust still doesn't have a great debugging experience (the
> compiler mostly seems to think things are optimized out).

I think your reading is correct.  Please file a bug in Core :: Build Config.

Thanks,
-Nathan
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to