Commit e09e003
authored
Disable "unused unsafe" warnings in the libc makedev code. (#1414)
* Disable "unused unsafe" warnings in the libc makedev code.
The latest version of libc makes `makedev`, `major`, and `minor` safe
functions; for now; disable the warning about unused unsafe blocks
wrapped around those functions, to be compatible with older and
newer libc versions.
* Pin once_cell for the MSRV build.1 parent 04e2a5a commit e09e003
2 files changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
59 | 60 | | |
60 | 61 | | |
61 | 62 | | |
| |||
533 | 534 | | |
534 | 535 | | |
535 | 536 | | |
| 537 | + | |
536 | 538 | | |
537 | 539 | | |
538 | 540 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
1 | 7 | | |
2 | 8 | | |
3 | 9 | | |
| |||
0 commit comments