Skip to content

Commit ade532c

Browse files
committed
link to the book
1 parent 06117e4 commit ade532c

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/runtime.md

+4-5
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,7 @@ fn panic(info: &PanicInfo) -> ! {
5151

5252
### Standard behavior
5353

54-
The standard library provides an implementation of `panic_handler` than can be
55-
statically customized using the `-C panic` flag. `-C panic=abort` makes panics
56-
abort the process, and `-C panic=unwind` makes panics unwind the panicking
57-
thread. If no panicking behavior is specified using `-C panic` one of these two
58-
behaviors is chosen according to the compilation target.
54+
The standard library provides an implementation of `panic_handler` than defaults
55+
to unwinding the stack but that can be [changed to abort the process][abort].
56+
57+
[abort]: ../book/2018-edition/ch09-01-unrecoverable-errors-with-panic.html

0 commit comments

Comments
 (0)