On 4/17/12, Somedude <lovelyd...@mailmetrash.com> wrote:
> But running the exe crashes immediately at execution with "unauthorized
> instruction". Why ?

That's the old exectuable leftover from the previous compile. RDMD
generates the exe in a temporary folder with a random name and runs it
immediately. Because the main function doesn't do anything (RDMD
provides an empty one via --main), the app exited immediately.

> And how do I execute the unit test ?

rdmd -unittest --main test.d

Reply via email to