Skip to content

Instantly share code, notes, and snippets.

@steveklabnik
Last active August 29, 2015 14:20
Show Gist options
  • Select an option

  • Save steveklabnik/e9e744d23a7a14edcd47 to your computer and use it in GitHub Desktop.

Select an option

Save steveklabnik/e9e744d23a7a14edcd47 to your computer and use it in GitHub Desktop.
Some output from rustc
$ uname -a
Linux warmachine 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt7-1 (2015-03-01) x86_64 GNU/Linux
$ cat > hello.rs
fn main() {
    println!("Hello, world");
}
$ rustc hello.rs 
$ ls -alh
total 580K
drwxr-xr-x  2 steve steve 4.0K Apr 30 13:04 .
drwxr-xr-x 41 steve steve 4.0K Apr 30 13:01 ..
-rwxr-xr-x  1 steve steve 568K Apr 30 13:04 hello
-rw-r--r--  1 steve steve   44 Apr 30 13:03 hello.rs
$ rustc -C prefer-dynamic hello.rs 
$ ls -alh
total 24K
drwxr-xr-x  2 steve steve 4.0K Apr 30 13:04 .
drwxr-xr-x 41 steve steve 4.0K Apr 30 13:01 ..
-rwxr-xr-x  1 steve steve 8.7K Apr 30 13:04 hello
-rw-r--r--  1 steve steve   44 Apr 30 13:03 hello.rs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment