[rust-dev] LLVM assertions

Patrick Walton pwalton at mozilla.com
Sun Jul 28 10:31:28 PDT 2013


On 7/28/13 10:30 AM, Patrick Walton wrote:
> On 7/28/13 9:52 AM, Corey Richardson wrote:
>> On Sun, Jul 28, 2013 at 12:44 PM, Patrick Walton <pwalton at mozilla.com>
>> wrote:
>>> Wow! We should do this by default.
>>>
>>
>> Not sure this is a good idea, not as long as we still have
>> LLVM-related ICEs and assertions.
>>
>
> Well, keep in mind that debug logging is now turned off unless you build
> with CFG_ENABLE_DEBUG, so assertions aren't really debuggable anymore
> without building the compiler in debug mode. So folks debugging
> assertions will have to build without CFG_ENABLE_DEBUG, and I think it's
> reasonable to have LLVM assertions on for those builds.

Err, *with* CFG_ENABLE_DEBUG.

Patrick



More information about the Rust-dev mailing list