dmd -run fails with Nix on macOS Mojave
Jacob Carlborg
doob at me.com
Fri Feb 22 10:18:22 UTC 2019
On 2019-02-19 21:32, Thomas Mader wrote:
> On macOS Mojave dmd built with Nix can not be used with the -run parameter.
>
> dmd -run hello.d
> /var/tmp/dmd_runNVSCJp: Permission denied
> core.thread.ThreadError at core/thread.d(3206): Unable to load thread state
>
> I don't know what the compiler wants to write to /var/tmp/dmd_runNVSCJp
> and why that fails with a Permission denied.
I had the same issue on FreeBSD (TrueOS actually), because it's /tmp is
mounted as "noexec". But that's usually not the case on macOS.
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list