mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-01 07:30:43 +03:00
Add "built with D compiler version" to --version output.
This commit is contained in:
parent
60dde96177
commit
febfcad3a2
4 changed files with 15 additions and 1 deletions
|
@ -121,6 +121,7 @@ void printVersion() {
|
|||
printf("LDC - the LLVM D compiler (%s):\n", global.ldc_version);
|
||||
printf(" based on DMD %s and LLVM %s\n", global.version,
|
||||
global.llvm_version);
|
||||
printf(" built with %s\n", ldc::built_with_Dcompiler_version);
|
||||
#if defined(__has_feature)
|
||||
#if __has_feature(address_sanitizer)
|
||||
printf(" compiled with address sanitizer enabled\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue