Skip to content

Commit 1844fb1

Browse files
committed
fix linking
1 parent 5d763e3 commit 1844fb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1.9/ja/book/no-stdlib.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,6 @@ pub extern fn main(argc: i32, argv: *const *const u8) -> i32 {
9696
<!-- which do not trigger a panic can be assured that this function is never -->
9797
<!-- called. The second function, `panic_fmt`, is also used by the failure -->
9898
<!-- mechanisms of the compiler. -->
99-
2つある関数のうち1つ目は `eh_personality` で、コンパイラの失敗メカニズムに使われます。これはしばしばGCCのpersonality関数に割り当てられますが(詳細は[libstd実装](unwind)を参照してください)、パニックを発生させないクレートではこの関数は呼ばれないことが保証されています。2つ目の関数は `panic_fmt` で、こちらもコンパイラの失敗メカニズムのために使われます。
99+
2つある関数のうち1つ目は `eh_personality` で、コンパイラの失敗メカニズムに使われます。これはしばしばGCCのpersonality関数に割り当てられますが(詳細は[libstd実装][unwind]を参照してください)、パニックを発生させないクレートではこの関数は呼ばれないことが保証されています。2つ目の関数は `panic_fmt` で、こちらもコンパイラの失敗メカニズムのために使われます。
100100

101101
[unwind]: https://github.com/rust-lang/rust/blob/master/src/libstd/sys/common/unwind/gcc.rs

0 commit comments

Comments
 (0)