@@ -283,21 +283,20 @@ handled consistently across the entire binary. This includes using `dlopen` or s
283
283
where linking is done by the system runtime without ` rustc ` being involved.
284
284
285
285
r[ link.unwinding.potential]
286
- A Rust binary or ` staticlib ` is called * potentially unwinding* if any of the following conditions
287
- is met:
288
- - The binary or ` staticlib ` is linked with [ the ` panic=unwind ` runtime] [ panic-runtime ] .
289
- - The binary or ` staticlib ` contains a crate built with ` -Cpanic=unwind ` that makes a call
286
+ A Rust artifact is called * potentially unwinding* if any of the following conditions is met:
287
+ - The artifact is linked with [ the ` panic=unwind ` runtime] [ panic-runtime ] .
288
+ - The artifact contains a crate built with ` -Cpanic=unwind ` that makes a call
290
289
to a function using a ` -unwind ` ABI.
291
- - The binary or ` staticlib ` makes a ` "Rust" ` ABI call to code running in a separately built
292
- ` staticlib ` (i.e., a separate instance of the Rust runtime) , and that other ` staticlib ` is
290
+ - The artifact makes a ` "Rust" ` ABI call to code running in another Rust
291
+ artifact that has a separate copy of the Rust runtime, and that other artifact is
293
292
potentially unwinding.
294
293
295
294
> [ !NOTE]
296
- > This definition captures whether a ` "Rust" ` ABI call inside a Rust binary or ` staticlib ` can ever
295
+ > This definition captures whether a ` "Rust" ` ABI call inside a Rust artifact can ever
297
296
> unwind.
298
297
299
298
r[ link.unwinding.prohibited]
300
- If a Rust binary or ` staticlib ` is potentially unwinding, then all its crates must be built with ` -Cpanic=unwind ` .
299
+ If a Rust artifact is potentially unwinding, then all its crates must be built with ` -Cpanic=unwind ` .
301
300
302
301
> [ !NOTE]
303
302
> This restriction can only be violated when mixing code with different ` -C panic ` flags
0 commit comments