Skip to content

Conversation

@MaxDesiatov
Copy link
Contributor

@MaxDesiatov MaxDesiatov commented Sep 2, 2025

Explanation: Cherry-pick of #84029, merged as 3f96cef
Cover all va_list family of types just aliased by __builtin_va_list, including __isoc_va_list from wasi-libc. This enables proper C interop for variable argument functions on WASI targets.

Close #72398

Scope:
Risk:
Testing:
Issue:
Reviewer: @Xazax-hun

Cover all va_list family of types just aliased by __builtin_va_list, including __isoc_va_list from wasi-libc. This enables proper C interop for variable argument functions on WASI targets.

Close swiftlang#72398
# Conflicts:
#	test/ClangImporter/Inputs/custom-modules/module.modulemap
@MaxDesiatov
Copy link
Contributor Author

@kateinoigakukun here's the cherry-pick, but I'm still investigating scope and risk of this one to determine if it can be considered for 6.2

@MaxDesiatov MaxDesiatov changed the title 6.2: [wasm] Add support for __builtin_va_list type mapping (#84029) 6.2: [wasm] Add support for __builtin_va_list type mapping Sep 2, 2025
@grynspan
Copy link
Contributor

grynspan commented Sep 2, 2025

If this is merged, Swift Testing can adopt in 6.2, but our use case isn't high-priority so we can wait for 6.3.

@MaxDesiatov
Copy link
Contributor Author

Doesn't seem like this could qualify for 6.2 at this point.

@grynspan
Copy link
Contributor

This branch now tracks 6.2.2 onward.

@MaxDesiatov MaxDesiatov deleted the yt/wasm-valist-6.2 branch October 11, 2025 01:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants