File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -426,8 +426,8 @@ let x = (&temp()).use_temp(); // ERROR
426426r[ destructors.forget]
427427## Not running destructors
428428
429- r[ destructors.manually-preventing ]
430- ### Manually preventing destructors
429+ r[ destructors.manually-suppressing ]
430+ ### Manually suppressing destructors
431431
432432[ ` std::mem::forget ` ] can be used to prevent the destructor of a variable from being run,
433433and [ ` std::mem::ManuallyDrop ` ] provides a wrapper to prevent a
Original file line number Diff line number Diff line change @@ -278,10 +278,11 @@ Passing `rlib`s directly into your foreign linker is currently unsupported.
278278r[ link.unwinding]
279279### Prohibited linkage and unwinding
280280
281- r[ link.unwinding.consistency ]
281+ r[ link.unwinding.intro ]
282282If you are * not* using ` rustc ` to link Rust files, you must take care to ensure that unwinding is
283- handled consistently across the entire binary. This includes using ` dlopen ` or similar facilities
284- where linking is done by the system runtime without ` rustc ` being involved.
283+ handled consistently across the entire binary. Linking without ` rustc ` includes using ` dlopen ` or similar facilities
284+ where linking is done by the system runtime without ` rustc ` being involved. In the following,
285+ we define what exactly is meant by "handling unwinding consistently".
285286
286287r[ link.unwinding.potential]
287288A Rust artifact is called * potentially unwinding* if any of the following conditions is met:
You can’t perform that action at this time.
0 commit comments