dmd
dmd copied to clipboard
Add __traits(getTargetInfo, "predefinedVersions")
This information is already printed to console with -v option. As an experiment, this exposes that same information to __traits.
Thanks for your pull request, @ibuclaw!
Bugzilla references
Your PR doesn't reference any Bugzilla issue.
If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog.
Testing this PR locally
If you don't have a local development environment setup, you can use Digger to test this PR:
dub run digger -- build "master + dmd#14209"
Is this only ones passed on the command line, or does this also include ones declared at module scope?
Is this only ones passed on the command line, or does this also include ones declared at module scope?
Only command-line. Module scope versions would be somewhere else - I'm guessing you'd have to pass which module as an argument, or take it from the current scope if not null.
Only command-line.
Noted. Please ensure that docs and changelog reflect this.