-
Notifications
You must be signed in to change notification settings - Fork 15
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
Specify package source custom section #12
Comments
That sounds potentially cool. Thinking through some use cases for this custom section:
|
Can you define the source code in detail?
|
My goal here would be to define a common method for embedding "a tree of source files" in a component binary to enable the types of features mentioned above. Specific contents would depend on the source language and desired feature. Taking the two mentioned above: "source-level debugging" would require only human-readable source text matching debug symbols, while "verifiable builds" might require much more associated build code and data (like |
We should consider specifying a standard format for embedding component source code in the component itself. One obvious way to do this would be to tar (+ gzip?) the source in some language-standard way. The custom section could be named simply...
source.tar
orsource.tgz
(if gzipped)This repo could provide a
wasm-pkg-source
crate to help.The text was updated successfully, but these errors were encountered: