Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

    $ cat hello.rs
    fn main() { println!("Hello, world!") }
    $ rustc hello.rs -C prefer-dynamic
    $ ./hello
    Hello, world!
    $ ls -al hello
    -rwxrwxr-x 1 lifthrasiir 9064 Mar  4 14:24 hello*
See other comments for the explanation.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: