File tree 1 file changed +5
-1
lines changed
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -188,11 +188,15 @@ always uses `"abort"`.
188
188
189
189
Tests, benchmarks, build scripts, and proc macros ignore the ` panic ` setting.
190
190
The ` rustc ` test harness currently requires ` unwind ` behavior. See the
191
- [ ` panic-abort-tests ` ] unstable flag which enables ` abort ` behavior.
191
+ [ ` panic-abort-tests ` ] unstable flag which enables ` abort ` behavior.
192
192
193
193
Additionally, when using the ` abort ` strategy and building a test, all of the
194
194
dependencies will also be forced to build with the ` unwind ` strategy.
195
195
196
+ One exception is that when a test or benchmark target is driven by a custom harness,
197
+ panic setting will be applied since the custom harness may not have the same limitation
198
+ as the ` rustc ` test harness requires.
199
+
196
200
[ `-C panic` flag ] : ../../rustc/codegen-options/index.html#panic
197
201
[ `panic-abort-tests` ] : unstable.md#panic-abort-tests
198
202
You can’t perform that action at this time.
0 commit comments