Commit df5e0cd
authored
Bump MSRV to 1.74.1 (mmtk#1276)
The current latest version of the "built" crate (v0.7.7) requires MSRV
1.74. We bump the MSRV to 1.74.1.
Since version 0.7.6 of the "built" crate, it generates `static` items
instead of `const` items for `PKG_VERSION`, `FEATURES_STR`, etc. Our
`build_info.rs` used to define `const` items that take their values.
After this change, the Rust compiler now interpret those lines as taking
references of `static` items, which is unstable until Rust 1.83. We
instead replaced those `const` items in `build_info.rs` with `use`
statements that create aliases of the items generated by "built".
Bumping MSRV to 1.74.1 also allows us to bump the version of the
dependency "criterion" to 0.5 which also requires MSRV 1.74. Previously,
we locked the version of "criterion" to 0.4 due to its MSRV requirement.
We also updated all dependencies to their latest versions. Among those
changes, the "sysinfo" crate renamed several `new` methods to `nothing`.
We make changes accordingly.
We also use `usize::div_ceil` which was introduced in Rust 1.73. This
fixes a clippy warning.1 parent 4ca8812 commit df5e0cd
File tree
4 files changed
+15
-15
lines changed- src
- policy/marksweepspace/native_ms
- util
4 files changed
+15
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
| 28 | + | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | | - | |
53 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
58 | | - | |
59 | | - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
310 | 310 | | |
311 | 311 | | |
312 | 312 | | |
313 | | - | |
| 313 | + | |
314 | 314 | | |
315 | 315 | | |
316 | 316 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
465 | 465 | | |
466 | 466 | | |
467 | 467 | | |
468 | | - | |
| 468 | + | |
469 | 469 | | |
470 | 470 | | |
471 | 471 | | |
| |||
0 commit comments