diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2025-04-17 17:57:58 +0200 |
---|---|---|
committer | Eli Schwartz <eschwartz93@gmail.com> | 2025-04-18 15:38:56 -0400 |
commit | b9db06b2b12a50b95185082910cfef01341fd7db (patch) | |
tree | f2a4b9629406099db07f5b73a0274ab824d25237 /mesonbuild/compilers/rust.py | |
parent | 855cf199fc950de3e764a74e7b545c2213aa601c (diff) | |
download | meson-b9db06b2b12a50b95185082910cfef01341fd7db.zip meson-b9db06b2b12a50b95185082910cfef01341fd7db.tar.gz meson-b9db06b2b12a50b95185082910cfef01341fd7db.tar.bz2 |
fix prefix computation in validate_original_args
validate_original_args only checks whether an option is prefixed with the name of a
built-in option that was also set. It does not check whether the prefix is the full
name of the option specified with -D. Adding an "=" at the end fixes the test.
Fixes: #14487
Reported-by: Alyssa Ross <hi@alyssa.is>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'mesonbuild/compilers/rust.py')
0 files changed, 0 insertions, 0 deletions