Skip to content

Commit c94b14a

Browse files
committed
update link to unwind in book
1 parent e7ce7b6 commit c94b14a

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

src/doc/book/no-stdlib.md

+8-7
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,11 @@ The compiler currently makes a few assumptions about symbols which are available
7777
in the executable to call. Normally these functions are provided by the standard
7878
library, but without it you must define your own.
7979

80-
The first of these two functions, `eh_personality`, is used by the
81-
failure mechanisms of the compiler. This is often mapped to GCC's
82-
personality function (see the
83-
[libstd implementation](../std/rt/unwind/index.html) for more
84-
information), but crates which do not trigger a panic can be assured
85-
that this function is never called. The second function, `panic_fmt`, is
86-
also used by the failure mechanisms of the compiler.
80+
The first of these two functions, `eh_personality`, is used by the failure
81+
mechanisms of the compiler. This is often mapped to GCC's personality function
82+
(see the [libstd implementation][unwind] for more information), but crates
83+
which do not trigger a panic can be assured that this function is never
84+
called. The second function, `panic_fmt`, is also used by the failure
85+
mechanisms of the compiler.
86+
87+
[unwind]: https://github.com/rust-lang/rust/blob/master/src/libstd/sys/common/unwind/gcc.rs

0 commit comments

Comments
 (0)