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

There should be build instructions to build hello.rs #6

Open
vi opened this issue Jul 15, 2013 · 0 comments
Open

There should be build instructions to build hello.rs #6

vi opened this issue Jul 15, 2013 · 0 comments

Comments

@vi
Copy link

vi commented Jul 15, 2013

I'm rather new to Rust and try to look at zero.rs.

I get:

$ rustc hello.rs 
error: no item found for `freeze`
error: no item found for `closure_exchange_malloc`
error: no item found for `vector_exchange_malloc`
error: no item found for `sized`
error: no item found for `send`
error: no item found for `ty_visitor`
error: no item found for `opaque`
error: no item found for `ty_desc`
error: aborting due to 8 previous errors

$ rustc zero.rs 
error: duplicate entry for `copy`
error: duplicate entry for `drop`
error: duplicate entry for `add`
...
error: duplicate entry for `start`
error: aborting due to 35 previous errors

$ rustc zero.rs hello.rs 
error: multiple input filenames provided

$ rustc --version
rustc 0.8-pre (1c35ab3 2013-07-14 10:19:21 -0700)
host: i686-unknown-linux-gnu

How to build hello.rs?

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

1 participant