Commit 5d7f1d8
committed
chore(unit-tests): disable debug-assertions in test builds
We need to do this because we have tests which create
Files from a raw fds or do an explicit close on fds.
This causes UB check to trigger and test to panic.
There is no separate flag to disable these checks,
so we have to disable all debug-assertions in test builds.
Tracking issue: rust-lang/rust#123499
Signed-off-by: Egor Lazarchuk <[email protected]>1 parent 40e1043 commit 5d7f1d8
1 file changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
25 | 33 | | |
26 | 34 | | |
27 | 35 | | |
| |||
0 commit comments