diff options
| author | Eli Schwartz <eschwartz93@gmail.com> | 2025-11-10 11:23:05 -0500 |
|---|---|---|
| committer | Eli Schwartz <eschwartz93@gmail.com> | 2025-11-14 03:16:18 -0500 |
| commit | c3d911e2f5d2118c92bc60ffcd3a5a8ff4f4a05e (patch) | |
| tree | 16165f521bee6052c4124bcab8927cb073b4cc07 /graphics | |
| parent | 2f1bc62dfff6c9b24ad524bca3637572ef304bf3 (diff) | |
| download | meson-c3d911e2f5d2118c92bc60ffcd3a5a8ff4f4a05e.tar.gz | |
make str and meson.version() API align again.
Regression in commit 6ee583e119b432fee03f908547729d5da030397e.
str.version_compare() accepts varargs unless the str was defined via
meson.version(), which isn't supposed to be a visible end user
distinction.
That being said, it makes no sense to support the special casing here.
- FeatureNew only compares conditions with min, not with max
- Having multiple min conditions is illogical and there's no need to
support it.
So we allow varargs for parity, but debug log that we can't handle it
specially and refrain from setting tmp_meson_version at all.
Fixes: https://github.com/mesonbuild/meson/issues/15217
Diffstat (limited to 'graphics')
0 files changed, 0 insertions, 0 deletions
