Skip to content

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

Description

@vi

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions