Skip to content

Conversation

@mdboom
Copy link
Contributor

@mdboom mdboom commented Jan 21, 2025

d3b1bb2 introduced the line:

#   if USING_APPLE_OS_LIBFFI && defined(__has_builtin) && __has_builtin(__builtin_available)

Unfortunately this doesn't work on compilers that don't have __has_builtin, because the parser fails on the usage of __has_builtin(__builtin_available) before is has a change to run the test defined(__has_builtin). Separating the defined check to its own expression seems to resolve this.

@mdboom mdboom requested a review from encukou January 21, 2025 17:04
@mdboom mdboom added skip news 🔨 test-with-buildbots Test PR w/ buildbots; report in status section OS-linux labels Jan 21, 2025
@picnixz picnixz added 🔨 test-with-buildbots Test PR w/ buildbots; report in status section and removed 🔨 test-with-buildbots Test PR w/ buildbots; report in status section labels Jan 21, 2025
@picnixz
Copy link
Member

picnixz commented Jan 21, 2025

Mmh. Build bots don't seem to be running.

@encukou
Copy link
Member

encukou commented Jan 21, 2025

Thank you!
I don't see the failure on main buildbots, so I don't think PR buildbots will bring us anything here. I'll trust your local testing.

@encukou encukou merged commit 3d7c0e5 into python:main Jan 21, 2025
52 checks passed
@picnixz picnixz removed the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants