Skip to content

Commit 222e1c3

Browse files
authored
Merge pull request #2493 from CyberShadow/pull-20181023-154944
Add changelog clarifications from forum merged-on-behalf-of: Jacob Carlborg <jacob-carlborg@users.noreply.github.com>
2 parents 64ebaad + dae7123 commit 222e1c3

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

changelog/2.083.0_pre.dd

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,11 @@ $(UL
5757
$(LI `CppRuntime_Sun`)
5858
)
5959
)
60+
61+
$(P
62+
The C++ runtime in use generally depends on the C++ compiler used to build the C++ code that will be linked against.
63+
This is contrast to the C runtime, which generally depends on the target system.
64+
)
6065
)
6166

6267
$(LI $(LNAME2 deprecated_switch_gc,Deprecated CLI switch `-gc` have been removed)
@@ -254,7 +259,12 @@ buildOptions "betterC"
254259
$(LI $(LNAME2 env_var_package_version,Environment variable DUB_PACKAGE_VERSION added)
255260
$(CHANGELOG_SOURCE_FILE dub, changelog/env_var_package_version.dd)
256261
$(P
257-
DUB now supports the environment variable DUB_PACKAGE_VERSION containing the version of the package
262+
When executing external commands, DUB will now set the environment variable `DUB_PACKAGE_VERSION`.
263+
The variable will contain the version of the package being built, as it appears in the output of `dub describe`.
264+
)
265+
$(P
266+
One application of this addition is to use a pre-build command to save the package version to a source file,
267+
in order to compile the version string into the application being built.
258268
)
259269
)
260270

0 commit comments

Comments
 (0)