Commit 3dcd62d
committed
Makefile: do not compile rust/download_web with old toolchain, again
rust/download_web now fails on Fedora 39 (rustc 1.37) with:
error[E0658]: use of unstable library feature 'ptr_cast'
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/object-0.19.0/src/pod.rs:35:30
|
35 | let val = unsafe { &*ptr.cast() };
| ^^^^
|
= note: for more information, see rust-lang/rust#60602
error[E0658]: use of unstable library feature 'ptr_cast'
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/object-0.19.0/src/pod.rs:53:52
|
53 | let slice = unsafe { slice::from_raw_parts(ptr.cast(), count) };
| ^^^^
|
= note: for more information, see rust-lang/rust#60602
error[E0658]: use of unstable library feature 'ptr_cast'
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/object-0.19.0/src/pod.rs:65:66
|
65 | unsafe { slice::from_raw_parts(slice::from_ref(val).as_ptr().cast(), size) }
| ^^^^
|
= note: for more information, see rust-lang/rust#60602
This feature is
https://doc.bccnsoft.com/docs/rust-1.36.0-docs-html/unstable-book/library-features/ptr-cast.html,
stabilized in rust-lang/rust#62713 merged in
Rust 1.38 (2019-09-26).1 parent 41cdecc commit 3dcd62d
2 files changed
+6
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
93 | 95 | | |
94 | 96 | | |
95 | 97 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| |||
0 commit comments