File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -24,9 +24,10 @@ unsafe { panic_impl(&pi) }
2424
2525Actually resolving this goes through several layers of indirection:
2626
27- 1 . In ` compiler/rustc_middle/src/middle/weak_lang_items.rs ` , ` panic_impl ` is declared as 'weak lang item',
28- with the symbol ` rust_begin_unwind ` . This is used in ` rustc_typeck/src/collect.rs `
29- to set the actual symbol name to ` rust_begin_unwind ` .
27+ 1 . In ` compiler/rustc_middle/src/middle/weak_lang_items.rs ` , ` panic_impl ` is
28+ declared as 'weak lang item', with the symbol ` rust_begin_unwind ` . This is
29+ used in ` rustc_typeck/src/collect.rs ` to set the actual symbol name to
30+ ` rust_begin_unwind ` .
3031
3132 Note that ` panic_impl ` is declared in an ` extern "Rust" ` block,
3233 which means that core will attempt to call a foreign symbol called ` rust_begin_unwind `
You can’t perform that action at this time.
0 commit comments