RFC: Do not check for builtins in has_function, add has_builtin
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 6.6k
- Forks
- 1.9k
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 33
Description
Checking for builtins in `has_function` has causes quite some trouble and is still broken in meson. IMO there is no easy way to get both right in one kwarg and it would be much cleaner and sensible to do not check at all for builtins in `has_function` and instead introduce a kwarg `has_builtin` to check for compiler builtins.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the RFC and the existing semantics of has_function in Meson. Determine how a separate has_builtin keyword should differ and define the behavior that would need to be covered by tests; the issue names no files, entry points, or test cases.
Written by the indexing model from the issue text.
Assessment
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100