-
Notifications
You must be signed in to change notification settings - Fork 10.5k
runtime, WebAssembly: add ImageInspectionWasm.cpp #39483
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
This change adds a stub for `swift::lookupSymbol` for the WebAssembly platform. <!-- If this pull request resolves any bugs in the Swift bug tracker, provide a link: --> Related to SR-9307.
@swift-ci please smoke test |
156a8bf
to
9e6e39b
Compare
@swift-ci please smoke test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there something that prevents symbol lookup on WASM? Why a stub rather than an implementation?
@compnerd Currently, Wasm doesn't have a standard stable ABI for exporting |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add the context that @kateinoigakukun mentioned into the file as a comment.
296ec44
to
1ce6678
Compare
@swift-ci please smoke test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is no change request from my side.
@compnerd would you have a moment for re-review? Thanks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not really using a stub - its adding a placeholder for an implementation. This means that any fatalError
is going to be useless under any configuration or build.
This change adds a stub for
swift::lookupSymbol
for the WebAssembly platform.Related to SR-9307.