This repository was archived by the owner on May 28, 2025. It is now read-only.
Commit 9f50fa7
committed
Ensure user trap code 0 is never used
Cranelift will return None from TrapCode::user(0).
Fixes rust-lang/rustc_codegen_cranelift#15481 parent 67c241e commit 9f50fa7
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
| 139 | + | |
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1136 | 1136 | | |
1137 | 1137 | | |
1138 | 1138 | | |
1139 | | - | |
| 1139 | + | |
1140 | 1140 | | |
1141 | 1141 | | |
1142 | 1142 | | |
| |||
0 commit comments