Commit 5e7e8cd 1 parent e7e6dec commit 5e7e8cd Copy full SHA for 5e7e8cd
File tree 1 file changed +5
-4
lines changed
src/librustc_codegen_llvm
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -281,7 +281,7 @@ pub fn from_fn_attrs(
281
281
//
282
282
// However, in the long term we should either:
283
283
// - fold this into final else (i.e. stop inspecting `id`)
284
- // - adopt Rust PR #63909.
284
+ // - or, adopt Rust PR #63909.
285
285
//
286
286
// see also Rust RFC 2753.
287
287
@@ -302,9 +302,10 @@ pub fn from_fn_attrs(
302
302
// UB otherwise. (At least for now; see also
303
303
// rust-lang/rust#63909 and Rust RFC 2753.)
304
304
//
305
- // Items defined in Rust with non-Rust ABIs (case 2) are
306
- // defined to not unwind. We insert shims to abort if an
307
- // unwind happens to enforce this.
305
+ // Items defined in Rust with non-Rust ABIs (case 2) are also
306
+ // not supposed to unwind. Whether this should be enforced
307
+ // (versus stating it is UB) and *how* it would be enforced
308
+ // is currently under discussion; see rust-lang/rust#58794.
308
309
//
309
310
// In either case, we mark item as explicitly nounwind.
310
311
false
You can’t perform that action at this time.
0 commit comments