Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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/suiyiyu.us.kg-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/suiyiyu.us.kg-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/suiyiyu.us.kg-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).
- Loading branch information