-
Notifications
You must be signed in to change notification settings - Fork 59
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
Generate a $start function when compiling a binary. #108
Comments
This is part of what's being discussed in #16 |
This was also the subject of https://github.com/rust-lang-nursery/rust-wasm/issues/18 which has a lot of detailed discussion about |
Okay, an opt-in solution sounds good. I'm not sure how libstd would support this, though, since it seems to have a single entry point for all architectures in |
@lachlansneff oh the |
Is there any progress on this? Nebulet is very close to being ready for application and driver development and it waiting on this. |
Currently, no, but a champion to design and implement it would be most welcome! |
Sure, I'd be happy to! I'll need some guidance though; I haven't delved into the rustc internals before. |
Also, I'm not so sure about opt-in. Seems to me that having a |
This was discussed in the last meeting and it was decided that rustc should generate a |
Currently, rust doesn't not generate a
$start
function when compiling a binary to wasm. This should be added at some point.The text was updated successfully, but these errors were encountered: