-
-
Notifications
You must be signed in to change notification settings - Fork 147
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #250 from joakim-noah/rdmd
Fix Issue 11997 - rdmd should search it's binary path for the compiler merged-on-behalf-of: Vladimir Panteleev <[email protected]>
- Loading branch information
Showing
3 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
rdmd now checks for a D compiler binary in the directory it's in first | ||
|
||
If you downloaded a zip/tar file with the compiler before | ||
and ran `rdmd`, it would invoke the D compiler from the system | ||
`PATH` rather than the compiler right next to it, failing if | ||
there wasn't one in the `PATH`. `rdmd` will now try to use | ||
the D compiler next to it first, and only fall back to the | ||
`PATH` if there isn't one adjacent. If you want rdmd to run a | ||
specific compiler, add the `--compiler` flag to force it, as | ||
always. | ||
|
||
To restore the old behaviour of only using the compiler from | ||
your `PATH`, add `--compiler=dmd` (or `ldmd2` or `gdmd`). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters