tools
tools copied to clipboard
Ancillary tools for the D programming language compiler
This improves upon https://github.com/dlang/dmd/pull/13288 and adds a copy of `osmodel.mak` into this repo, to break the build dependency between the two repos. This allows one to build the tools with...
**Describe the bug** windows has a helpful compatibility feature where having the words "setup" or "install" in an executable's name automatically causes it to require admin privileges to run this...
This enables e.g. verification for tests hidden by `version (StdDoc)` without running them (wich usually are version'ed for exactly that reason). This change wraps the unittest body in `if (false)...
Note this is only part of the required fix. DMD at the moment doesn't allow to incrementally add to DFLAGS, so this needs to be fixed before this can be...
Sometimes, when messing with various toolchains / debugging linking problems, it's useful to look at the object files generated by the compiler. Currently, rdmd unconditionally places them in a temporary...
tl;dr: @WebDrake recently changed the `rdmd` to automatically add semicolons for the last statement without effect (https://github.com/dlang/tools/pull/303), but I think we can do a bit better and make `rdmd` even...
Since it seems there are some use-cases where it is unavoidable to run `rdmd_test` directly, it's nice if we can reduce the amount of typing required to do so. Besides...
**Transferred from**: https://issues.dlang.org/show_bug.cgi?id=15533 User `golovanov_alexey` reported (2016-Jan-09 09:34:01): > Created [attachment 1572](https://github.com/dlang/tools/files/5791878/rdmd_import_bug.zip) > > reduced test case (see moduleB import) > > From forum: http://forum.dlang.org/thread/[email protected] > > OS: Windows 7...
**Transferred from**: https://issues.dlang.org/show_bug.cgi?id=14654 User @andralex reported (2015-Jun-05 16:10:40): > rdmd builds the given file and all of its dependents in one shot. For large projects, this becomes problematic because of...
**Transferred from**: https://issues.dlang.org/show_bug.cgi?id=8173 User @thelastmammoth reported (2012-May-31 02:23:50): > Currently, running: > ```shell > $ rdmd -g --build-only main && gdb main > ``` > yields: > ``` > warning:...