diff options
| author | Jonas Schievink <jonasschievink@gmail.com> | 2020-11-24 13:17:49 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-24 13:17:49 +0100 |
| commit | 95e7af353fbcb44a6bfff775a79843eabb109971 (patch) | |
| tree | 32071bf7aad476b73f0a11e4db2161a821b5f393 /compiler/rustc_mir/src/transform/coverage/debug.rs | |
| parent | ce197961ac4b7ead828bd7ed556d250157a3d1fa (diff) | |
| parent | 7b62e09b0333e268e5546d52f2072eb340cec7ea (diff) | |
| download | rust-95e7af353fbcb44a6bfff775a79843eabb109971.tar.gz rust-95e7af353fbcb44a6bfff775a79843eabb109971.zip | |
Rollup merge of #79367 - Dirbaio:trap-unreachable, r=jonas-schievink
Allow disabling TrapUnreachable via -Ztrap-unreachable=no Currently this is only possible by defining a custom target, which is quite unwieldy. This is useful for embedded targets where small code size is desired. For example, on my project (thumbv7em-none-eabi) this yields a 0.6% code size reduction: 132892 bytes -> 132122 bytes (770 bytes down).
Diffstat (limited to 'compiler/rustc_mir/src/transform/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions
