File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments