summaryrefslogtreecommitdiff
path: root/docs/markdown/Reference-manual.md
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2021-07-22 13:03:44 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2021-09-07 14:18:37 +0200
commit32dbdff3b2d37d1ec7ef976c0b4f30d1d0472e70 (patch)
tree9f6f7670a952b4ad59fb8f730a4d7da421e4265a /docs/markdown/Reference-manual.md
parentbb70277e96c183ae3f07ecfdd11be0ee5257112e (diff)
downloadmeson-32dbdff3b2d37d1ec7ef976c0b4f30d1d0472e70.tar.gz
docs: document new behavior with respect to mixed language link tests
Diffstat (limited to 'docs/markdown/Reference-manual.md')
-rw-r--r--docs/markdown/Reference-manual.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md
index 8ef36de68..9a0a89ad1 100644
--- a/docs/markdown/Reference-manual.md
+++ b/docs/markdown/Reference-manual.md
@@ -2513,7 +2513,10 @@ the following methods:
positional argument compiles and links, you can specify external
dependencies to use with `dependencies` keyword argument, `code` can
be either a string containing source code or a `file` object
- pointing to the source code.
+ pointing to the source code. *Since 0.60.0*, if the `file` object's
+ suffix does not match the compiler object's language, the compiler
+ corresponding to the suffix is used to compile the source, while the
+ target of the `links` method is used to link the resulting object file.
- `run(code)`: attempts to compile and execute the given code fragment,
returns a run result object, you can specify external dependencies