Skip to content
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

Multiple source file support #29

Closed
eholk opened this issue Jul 19, 2016 · 2 comments
Closed

Multiple source file support #29

eholk opened this issue Jul 19, 2016 · 2 comments

Comments

@eholk
Copy link
Collaborator

eholk commented Jul 19, 2016

How do we want these to work? One Rust module per Wasm module? One Wasm module per crate? How do we decide what is exported to Wasm?

@eddyb
Copy link

eddyb commented Jul 19, 2016

I believe multiple files are already supported, and if you follow the LLVM model, you will want one wasm module per crate.
The relevant part of deciding what's exported from current LLVM trans is mostly using information already computed in the compiler, and filtering out some cases which are never exported.

@eholk
Copy link
Collaborator Author

eholk commented Jul 26, 2016

#32 shows we have support for this (although multiple crates are probably a different issue), so I'm going to go ahead and close this.

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

No branches or pull requests

2 participants