]> git.lizzy.rs Git - rust.git/commit
Fix panic_fmt in the Book
authorChristopher Serr <cryze92@gmail.com>
Tue, 29 Mar 2016 20:28:17 +0000 (22:28 +0200)
committerChristopher Serr <cryze92@gmail.com>
Tue, 29 Mar 2016 20:28:17 +0000 (22:28 +0200)
commite9b1c3ccb5fbae3d61d4ba0c1d650763dcda3923
tree8166e1631f07a487c5bc03ac95d520d99a6f2d82
parent0c07a3cc599b0a88c35b5c1bd3fc92fa6925e4ce
Fix panic_fmt in the Book

While implementing panic_fmt for the GameCube I noticed that the parameters given to it were completely broken. Turns out that panic_fmt requires the C ABI to work correctly. This should be fixed in the documentation, so that others don't make the same mistake. Thanks to mbrubeck in the IRC for helping me figure this out.

Not specifying extern for lang_items correctly should potentially also be a compiler error.
src/doc/book/no-stdlib.md