Skip to content

[wasm] Fix signatures of swift_retain #4878

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

kateinoigakukun
Copy link
Member

Function signature cannot be inconsistent in Wasm platforms. This patch fixes the signature of swift_retain to return the retained object.

Function signature cannot be inconsistent in Wasm platforms. This patch
fixes the signature of `swift_retain` to return the retained object.
@kateinoigakukun kateinoigakukun added bug WASI WebAssembly System Interface-related changes labels Feb 23, 2024
@kateinoigakukun
Copy link
Member Author

@swift-ci Please test

@MaxDesiatov
Copy link
Contributor

@swift-ci test

@MaxDesiatov
Copy link
Contributor

@swift-ci test windows

@MaxDesiatov
Copy link
Contributor

@swift-ci test

@kateinoigakukun kateinoigakukun merged commit 7d40966 into swiftlang:main Feb 29, 2024
@kateinoigakukun kateinoigakukun deleted the pr-9a7128f36562ce5da5c7f523fd6d207e4bf575e1 branch February 29, 2024 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug WASI WebAssembly System Interface-related changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants