about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-06-17 13:36:35 +0000
committerbors <bors@rust-lang.org>2014-06-17 13:36:35 +0000
commitacc944a35c315c97e9c666cee7f55f7a795ecf04 (patch)
tree146c4e141191953f55058b4f5c927e3fa0c8aa09
parentfeb294ca1125bda576552a71c11c44a820ef8b99 (diff)
parent7fec86b5e20c3112a6b4a6a338040ed08aef8596 (diff)
downloadrust-acc944a35c315c97e9c666cee7f55f7a795ecf04.tar.gz
rust-acc944a35c315c97e9c666cee7f55f7a795ecf04.zip
auto merge of #14970 : nkoep/rust/patch-1, r=huonw
Compiling a crate with `rustc --crate-type=lib` produces an rlib file, not a shared object. The latter is only produced for `--crate-type=dylib`.
-rw-r--r--src/doc/tutorial.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/tutorial.md b/src/doc/tutorial.md
index b1f72f36ecb..6d9aa484167 100644
--- a/src/doc/tutorial.md
+++ b/src/doc/tutorial.md
@@ -3247,7 +3247,7 @@ fn main() { println!("hello {}", world::explore()); }
 Now compile and run like this (adjust to your platform if necessary):
 
 ~~~~console
-$ rustc --crate-type=lib world.rs  # compiles libworld-<HASH>-0.42.so
+$ rustc --crate-type=lib world.rs  # compiles libworld-<HASH>-0.42.rlib
 $ rustc main.rs -L .               # compiles main
 $ ./main
 "hello world"