This repository was archived by the owner on May 28, 2025. It is now read-only.
Commit 2681f25
committed
Auto merge of rust-lang#93442 - yaahc:Termination-abstraction, r=Mark-Simulacrum
Change Termination::report return type to ExitCode
Related to rust-lang#43301
The goal of this change is to minimize the forward compatibility risks in stabilizing Termination. By using the opaque type `ExitCode` instead of an `i32` we leave room for us to evolve the API over time to provide what cross-platform consistency we can / minimize footguns when working with exit codes, where as stabilizing on `i32` would limit what changes we could make in the future in how we represent and construct exit codes.3 files changed
+26
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1676 | 1676 | | |
1677 | 1677 | | |
1678 | 1678 | | |
| 1679 | + | |
| 1680 | + | |
| 1681 | + | |
| 1682 | + | |
| 1683 | + | |
| 1684 | + | |
| 1685 | + | |
| 1686 | + | |
| 1687 | + | |
| 1688 | + | |
| 1689 | + | |
| 1690 | + | |
| 1691 | + | |
| 1692 | + | |
| 1693 | + | |
1679 | 1694 | | |
1680 | 1695 | | |
1681 | 1696 | | |
| |||
2016 | 2031 | | |
2017 | 2032 | | |
2018 | 2033 | | |
2019 | | - | |
| 2034 | + | |
2020 | 2035 | | |
2021 | 2036 | | |
2022 | 2037 | | |
2023 | 2038 | | |
2024 | 2039 | | |
2025 | | - | |
| 2040 | + | |
2026 | 2041 | | |
2027 | 2042 | | |
2028 | 2043 | | |
2029 | 2044 | | |
2030 | 2045 | | |
2031 | 2046 | | |
2032 | | - | |
| 2047 | + | |
2033 | 2048 | | |
2034 | 2049 | | |
2035 | 2050 | | |
| |||
2039 | 2054 | | |
2040 | 2055 | | |
2041 | 2056 | | |
2042 | | - | |
| 2057 | + | |
2043 | 2058 | | |
2044 | 2059 | | |
2045 | 2060 | | |
2046 | 2061 | | |
2047 | 2062 | | |
2048 | 2063 | | |
2049 | | - | |
| 2064 | + | |
2050 | 2065 | | |
2051 | 2066 | | |
2052 | 2067 | | |
| |||
2055 | 2070 | | |
2056 | 2071 | | |
2057 | 2072 | | |
2058 | | - | |
| 2073 | + | |
2059 | 2074 | | |
2060 | 2075 | | |
2061 | 2076 | | |
| |||
2064 | 2079 | | |
2065 | 2080 | | |
2066 | 2081 | | |
2067 | | - | |
2068 | | - | |
| 2082 | + | |
| 2083 | + | |
2069 | 2084 | | |
2070 | 2085 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | | - | |
| 145 | + | |
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
182 | 183 | | |
183 | 184 | | |
184 | 185 | | |
185 | | - | |
| 186 | + | |
186 | 187 | | |
187 | 188 | | |
188 | 189 | | |
| |||
0 commit comments