Compile without generating code

bauss via Digitalmars-d digitalmars-d at puremagic.com
Fri Jul 7 05:42:55 PDT 2017


On Friday, 7 July 2017 at 11:14:40 UTC, Suliman wrote:
> On Wednesday, 5 July 2017 at 22:05:53 UTC, Stefan Koch wrote:
>> On Wednesday, 5 July 2017 at 21:58:45 UTC, Lewis wrote:
>>> I was reading 
>>> https://blog.rust-lang.org/2017/07/05/Rust-Roadmap-Update.html, which mentioned that the Rust compiler now has a mode to go through the motions of compiling and show errors, but without generating any code. This way you can do a much faster build while iterating until you have no compile errors, then do a single build with code generation once everything looks good.
>>>
>>> [...]
>>
>> We already have it.
>> use -o- and it'll disable codegen.
>
>
> How to use this parameter with dub?

"buildOptions" with "syntaxOnly"


More information about the Digitalmars-d mailing list