diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2022-06-16 19:23:35 -0400 |
---|---|---|
committer | Eli Schwartz <eschwartz@archlinux.org> | 2022-06-17 14:33:02 -0400 |
commit | b13a95c30156c0c9ebf11ceb664acee08a835b2c (patch) | |
tree | 5e32b069bfa309b804f1c0a54c8d599e35371fe6 /test cases | |
parent | e99e55d0aa6209388ce76db42322b18006fbaaad (diff) | |
download | meson-b13a95c30156c0c9ebf11ceb664acee08a835b2c.zip meson-b13a95c30156c0c9ebf11ceb664acee08a835b2c.tar.gz meson-b13a95c30156c0c9ebf11ceb664acee08a835b2c.tar.bz2 |
docs: d_module_versions has an undocumented ability to accept integers
Dlang uses both integer version "levels" and arbitrary string
identifiers, and we support both, but don't mention it in the docs.
Also update a test case to pass one via declare_dependency. We already
test this kwarg for build_target.
Diffstat (limited to 'test cases')
-rw-r--r-- | test cases/d/13 declare dep/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test cases/d/13 declare dep/meson.build b/test cases/d/13 declare dep/meson.build index 2293934..eef9816 100644 --- a/test cases/d/13 declare dep/meson.build +++ b/test cases/d/13 declare dep/meson.build @@ -3,7 +3,7 @@ project('meson-d-sample', 'd', ) my_dep = declare_dependency( - d_module_versions: ['TestVersion'], + d_module_versions: ['TestVersion', 1], d_import_dirs: include_directories('views'), ) |