Hello World

dfc5013
Opened by Kudu at 2011-03-15 22:15:10

Just for the record, how would you write a sample hello world program in Rust?

  1. fn main() {
        log "Please see the mailing list at https://mail.mozilla.org/listinfo/rust-dev/ :)"
    }
    

    Patrick Walton at 2011-03-15 21:56:13

  2. Thanks. Just another question: what's the standard file extension for Rust?

    Kudu at 2011-03-15 22:06:54

  3. .rs. Sorry for the snarkiness.

    Patrick Walton at 2011-03-15 22:15:10