Commit 1a1067d
committed
Make the default parallelism 1
This changes the default parallelism for parallel compilers to one,
instead of the previous default, which was "num cpus". This is likely
not an optimal default long-term, but it is a good default for testing
whether parallel compilers are not a significant regression over a
sequential compiler.
Notably, this in theory makes a parallel-enabled compiler behave
exactly like a sequential compiler with respect to the jobserver.1 parent a3639c6 commit 1a1067d
File tree
4 files changed
+24
-14
lines changed- src
- librustc_interface
- librustc/session
4 files changed
+24
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
813 | 813 | | |
814 | 814 | | |
815 | 815 | | |
| 816 | + | |
816 | 817 | | |
817 | 818 | | |
818 | 819 | | |
| |||
956 | 957 | | |
957 | 958 | | |
958 | 959 | | |
| 960 | + | |
| 961 | + | |
| 962 | + | |
| 963 | + | |
| 964 | + | |
| 965 | + | |
| 966 | + | |
| 967 | + | |
959 | 968 | | |
960 | 969 | | |
961 | 970 | | |
| |||
1259 | 1268 | | |
1260 | 1269 | | |
1261 | 1270 | | |
1262 | | - | |
| 1271 | + | |
| 1272 | + | |
| 1273 | + | |
| 1274 | + | |
| 1275 | + | |
1263 | 1276 | | |
1264 | 1277 | | |
1265 | 1278 | | |
| |||
2160 | 2173 | | |
2161 | 2174 | | |
2162 | 2175 | | |
2163 | | - | |
| 2176 | + | |
2164 | 2177 | | |
2165 | 2178 | | |
2166 | 2179 | | |
2167 | 2180 | | |
2168 | 2181 | | |
2169 | 2182 | | |
2170 | | - | |
| 2183 | + | |
2171 | 2184 | | |
2172 | 2185 | | |
2173 | 2186 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
897 | 897 | | |
898 | 898 | | |
899 | 899 | | |
900 | | - | |
901 | | - | |
902 | | - | |
903 | | - | |
904 | | - | |
905 | | - | |
906 | 900 | | |
907 | 901 | | |
908 | 902 | | |
909 | | - | |
| 903 | + | |
910 | 904 | | |
911 | 905 | | |
912 | 906 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
150 | | - | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
151 | 154 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
176 | | - | |
| 176 | + | |
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
| |||
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
201 | | - | |
| 201 | + | |
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
| |||
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
212 | | - | |
| 212 | + | |
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
| |||
0 commit comments