Skip to content

Update macro conditions for runtime usage #257

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

Merged
merged 3 commits into from
Jul 31, 2024

Conversation

fjtrujy
Copy link
Contributor

@fjtrujy fjtrujy commented Jul 30, 2024

_runtime(_multithreaded) is available only in the main snapshot toolchain, but unavailable in 6.0. However, we cannot distinguish them because compiler(>=6.1) is still false in the main snapshot toolchain. Thus add hasFeature(IsolatedAny2) condition, which is only available in main snapshot toolchains.

kateinoigakukun and others added 2 commits July 30, 2024 19:50
The main toolchain still says it's 6.0, so we can' distinguish them by `#if compiler`.
The feature is baseline in the main branch but not in the 6.0, so we can use it for now.
@kateinoigakukun kateinoigakukun merged commit abc05a9 into swiftwasm:main Jul 31, 2024
16 checks passed
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.

2 participants