From 1bfeaadd6d1dc87532a1c0ad4be615eb34044495 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Tue, 24 Mar 2020 12:20:20 -0700 Subject: Docs: Update link_language docs to explain when it should be used --- docs/markdown/snippets/link_language_all_targets.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 docs/markdown/snippets/link_language_all_targets.md (limited to 'docs/markdown/snippets') diff --git a/docs/markdown/snippets/link_language_all_targets.md b/docs/markdown/snippets/link_language_all_targets.md new file mode 100644 index 0000000..9019d50 --- /dev/null +++ b/docs/markdown/snippets/link_language_all_targets.md @@ -0,0 +1,8 @@ +## link_language argument added to all targets + +Previously the `link_language` argument was only supposed to be allowed in +executables, because the linker used needs to be the linker for the language +that implements the main function. Unfortunately it didn't work in that case, +and, even worse, if it had been implemented properly it would have worked for +*all* targets. In 0.55.0 this restriction has been removed, and the bug fixed. +It now is valid for `executable` and all derivative of `library`. -- cgit v1.1