【发布时间】:2016-07-01 14:30:38
【问题描述】:
dub 在下面构建优化的二进制文件的升序是什么? (例如...调试
$ dub build -h
...
-b --build=VALUE Specifies the type of build to perform. Note that
setting the DFLAGS environment variable will override
the build type with custom flags.
Possible names:
debug (default), plain, release, release-debug,
release-nobounds, unittest, profile, profile-gc,
docs, ddox, cov, unittest-cov and custom types
...
dub build -b release-nobounds 似乎源自dmd -O -release -boundscheck=off,那么dub 与构建fastest executables 的等价物是什么?
【问题讨论】: