diff options
| author | Eli Schwartz <eschwartz93@gmail.com> | 2023-10-28 21:53:49 -0400 |
|---|---|---|
| committer | Eli Schwartz <eschwartz93@gmail.com> | 2023-10-28 21:58:54 -0400 |
| commit | 01368ffb293da009f3df139ebcdc5f9ac7557809 (patch) | |
| tree | 586ce0761beb16197430e1d8001cb82a8c30e786 /mesonbuild/cargo | |
| parent | bca31cffc2eec44fdb34d206df30753b276390c5 (diff) | |
| download | meson-01368ffb293da009f3df139ebcdc5f9ac7557809.tar.gz | |
simd module: fix regression that broke using only some simd variants
Regression in commit a3d287c553b9598f010fe0755c5528ef62055e44.
When a given kwarg is not specified, we want to not generate it as a
simd variant. Since the default for buildtarget sources is `[]` it
resulted in building a static library with no sources, and a warning
stating that this was buggy and will eventually be removed.
Fix this by teaching buildtarget sources to allow None, and defaulting
to it specifically for the simd module. We can check this and then skip
processing entirely.
Fixes #12438
Diffstat (limited to 'mesonbuild/cargo')
0 files changed, 0 insertions, 0 deletions
