swift-inspect: repair build for Android#89536
Conversation
Android now imports `FILE` as a typed pointer rather than an `OpaquePointer`. Remove the conditional typealias.
|
CC: @madsodgaard |
|
@swift-ci please smoke test |
|
Hm this does not actually seem right. The changes we did with API notes should mean that |
|
Then the APINotes are not always being loaded. |
|
Where do you see this failure exactly? The Windows trunk snapshot toolchain CI cross-compiles Is it possible that whatever CI you are testing on is not pulling in the Android API notes properly? |
finagolfin
left a comment
There was a problem hiding this comment.
This will break other Android API levels and is likely incorrect.
|
OK, I may have tracked this down: it looks like the Windows installer lists each Android API note separately, unlike |
That is certainly an issue that should've been tested before @madsodgaard's patch was merged (I didn't get around to reviewing the change before it was merged). However, that is a distribution issue, the build that occurs here is prior to the packaged version and is done from the staged build. |
|
How does your build differ from the current trunk Windows snapshot toolchain CI, which always cross-compiles |
|
I'll get the exact invocation once the build is repaired - seems that something was committed that broken the early builds resulting in not being able to build at all currently. |
|
Probably fixed by #89599 instead |
|
Yes, verified that it has been fixed. Thanks @finagolfin! |
Android now imports
FILEas a typed pointer rather than anOpaquePointer. Remove the conditional typealias.