Skip to content

Conversation

@bonzini
Copy link
Collaborator

@bonzini bonzini commented Apr 17, 2025

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

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: mesonbuild#14487
Reported-by: Alyssa Ross <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
@bonzini bonzini changed the title Fix behavior options with options whose prefix is a builtin option name Fix behavior with options whose prefix is a builtin option name Apr 17, 2025
@bonzini bonzini added this to the 1.8 milestone Apr 17, 2025
@bonzini bonzini added regression options Meson configuration options labels Apr 17, 2025
@eli-schwartz eli-schwartz merged commit b9db06b into mesonbuild:master Apr 18, 2025
29 of 31 checks passed
@eli-schwartz eli-schwartz modified the milestones: 1.8, optionrefactor Apr 23, 2025
@bonzini bonzini deleted the fix14487 branch May 23, 2025 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

options Meson configuration options regression

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[1.8.0rc1 regression] Option names can no longer start with names of builtin dir options.

3 participants