brson / miri

An experimental compiler from Rust to WebAssembly (inactive - do not use)
Apache License 2.0
209 stars 15 forks source link

Add a simple testcase that shows we can import modules from other files. #32

Closed eholk closed 8 years ago

eholk commented 8 years ago

This will also let us avoid a lot of boilerplate code in subsequent tests.

Issue #29

lqd commented 8 years ago

nice

it'd probably be good to have the "more correct paths" for the core traits (which the hello world examples doesn't have, but most of the others do) since those are the ones #[derive()] expects for instance. It probably won't matter mid to long term, if/when we can compile part of libcore/std though.

brson commented 8 years ago

Thanks @eholk !