buildCompilerVersionString

Replaces the following expression and lowers compilation memory by avoiding use of compile-time format.

import std.compiler;
enum compilerVersion = format("%d.%03d", version_major, version_minor);
private
buildCompilerVersionString
()

Return Value

Type: auto

The compiler version as a string in the format of {MAJOR}.{MINOR} (eg. 2.100).