Commit 56adff4
authored
Cleaning up after bumping Rust MSRV (#1442)
We start using the MSRV-aware resolver (`resolver = "3"`).
We bumped dependency versions.
- We removed locked dependency versions that work around broken
transitive dependencies due to MSRV limitation.
- We still limit some of our dependency versions (`sysinfo` and
`criterion`) below the latest version because their latest versions
require higher MSRV and newer Rust editions.
- Note that the MSRV-aware resolver can find a compatible version only
within the allowed version range. For example, if we specify `0.7.2`, it
will be equivalent to `>=0.7.2,<0.8.0`. So if `0.7.4` is compatible but
`0.7.5` is not, it will resolve to `0.7.4`. But if `0.7.2` is
incompatible, the resolver will refuse to go below `0.7.2`, and the
resolution will fail. Both `sysinfo` and `criterion` broke MSRV
compatibility when bumping a minor version (since the major versions are
0, minor version signifies incompatibility), so the MSRV-aware resolver
is not helping for those two specific dependencies.
Removed a workaround in `ByteMapStateStorage::new` where we could use
`const {}` to initialize a vector without copying.1 parent e30d0a0 commit 56adff4
File tree
3 files changed
+21
-22
lines changed- benches/mock_bench
- src/util/heap/layout/mmapper/csm
3 files changed
+21
-22
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
15 | 26 | | |
16 | 27 | | |
17 | 28 | | |
| |||
23 | 34 | | |
24 | 35 | | |
25 | 36 | | |
26 | | - | |
27 | 37 | | |
28 | 38 | | |
29 | 39 | | |
| |||
47 | 57 | | |
48 | 58 | | |
49 | 59 | | |
50 | | - | |
51 | | - | |
| 60 | + | |
52 | 61 | | |
53 | 62 | | |
54 | 63 | | |
55 | | - | |
| 64 | + | |
| 65 | + | |
56 | 66 | | |
57 | 67 | | |
58 | 68 | | |
59 | 69 | | |
60 | 70 | | |
61 | | - | |
| 71 | + | |
| 72 | + | |
62 | 73 | | |
63 | 74 | | |
64 | | - | |
| 75 | + | |
65 | 76 | | |
66 | 77 | | |
67 | 78 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | 110 | | |
124 | 111 | | |
125 | | - | |
| 112 | + | |
126 | 113 | | |
127 | 114 | | |
128 | 115 | | |
| |||
0 commit comments