Compile without generating code
Johannes Pfau via Digitalmars-d
digitalmars-d at puremagic.com
Wed Jul 5 22:55:43 PDT 2017
Am Wed, 05 Jul 2017 22:05:53 +0000
schrieb Stefan Koch <uplink.coder at googlemail.com>:
> 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.
And GDC supports the standard -fsyntax-only GCC flag.
-- Johannes
More information about the Digitalmars-d
mailing list