diff options
| author | Steve Klabnik <steve@steveklabnik.com> | 2016-01-22 09:50:43 -0500 |
|---|---|---|
| committer | Steve Klabnik <steve@steveklabnik.com> | 2016-01-22 09:50:43 -0500 |
| commit | c94b14ade4f91ccd04d0283e5a1304d6dc5b2419 (patch) | |
| tree | ca414a4bdf2e634d31d725a67027bc11d53c8ef8 | |
| parent | e7ce7b63657e9001b0db08442e43bb5e5a65325a (diff) | |
update link to unwind in book
| -rw-r--r-- | src/doc/book/no-stdlib.md | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/doc/book/no-stdlib.md b/src/doc/book/no-stdlib.md index 65beaed2fc7..610940cde95 100644 --- a/src/doc/book/no-stdlib.md +++ b/src/doc/book/no-stdlib.md @@ -77,10 +77,11 @@ The compiler currently makes a few assumptions about symbols which are available in the executable to call. Normally these functions are provided by the standard library, but without it you must define your own. -The first of these two functions, `eh_personality`, is used by the -failure mechanisms of the compiler. This is often mapped to GCC's -personality function (see the -[libstd implementation](../std/rt/unwind/index.html) for more -information), but crates which do not trigger a panic can be assured -that this function is never called. The second function, `panic_fmt`, is -also used by the failure mechanisms of the compiler. +The first of these two functions, `eh_personality`, is used by the failure +mechanisms of the compiler. This is often mapped to GCC's personality function +(see the [libstd implementation][unwind] for more information), but crates +which do not trigger a panic can be assured that this function is never +called. The second function, `panic_fmt`, is also used by the failure +mechanisms of the compiler. + +[unwind]: https://github.com/rust-lang/rust/blob/master/src/libstd/sys/common/unwind/gcc.rs |
