diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2021-10-19 06:37:06 +0000 |
---|---|---|
committer | Tobias Kortkamp <tobik@FreeBSD.org> | 2021-10-25 08:49:18 +0000 |
commit | ba8bb92c6189b1d08a0095137cb1ab0f610b9312 (patch) | |
tree | 43a0306cc73bfb3d116c4f268bc7e362c240d4a9 | |
parent | 23e060019839c7630cf6ec5d089ee53a385fb245 (diff) | |
download | ports-ba8bb92c6189b1d08a0095137cb1ab0f610b9312.tar.gz ports-ba8bb92c6189b1d08a0095137cb1ab0f610b9312.zip |
games/veloren: Unbreak with Rust 1.56.0
error[E0557]: feature has been removed
--> /wrkdirs/usr/ports/games/veloren/work/veloren-e4716147a7356eb13088e7d74ace3ccdcb5cd900/cargo-crates/packed_simd_2-0.3.5/src/lib.rs:215:5
|
215 | const_generics,
| ^^^^^^^^^^^^^^ feature has been removed
|
= note: removed in favor of `#![feature(adt_const_params]` and `#![feature(generic_const_exprs)]`
PR: 259251
-rw-r--r-- | games/veloren/files/patch-rust-1.56 | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/games/veloren/files/patch-rust-1.56 b/games/veloren/files/patch-rust-1.56 new file mode 100644 index 000000000000..736e6cb24636 --- /dev/null +++ b/games/veloren/files/patch-rust-1.56 @@ -0,0 +1,64 @@ +https://gitlab.com/veloren/veloren/-/commit/88685cc01650 +https://gitlab.com/veloren/veloren/-/commit/2a82405df26a +https://github.com/rust-lang/packed_simd/commit/45d5347a0d21 + +--- cargo-crates/packed_simd_2-0.3.5/src/lib.rs.orig 1970-01-01 00:00:00 UTC ++++ cargo-crates/packed_simd_2-0.3.5/src/lib.rs +@@ -212,7 +212,7 @@ + //! guide](https://rust-lang-nursery.github.io/packed_simd/perf-guide/)
+
+ #![feature(
+- const_generics,
++ adt_const_params,
+ repr_simd,
+ rustc_attrs,
+ platform_intrinsics,
+--- common/net/src/lib.rs.orig 2021-09-10 20:02:36 UTC ++++ common/net/src/lib.rs +@@ -1,8 +1,7 @@ + #![allow(incomplete_features)] + #![feature( +- const_generics, ++ generic_const_exprs, + const_fn_floating_point_arithmetic, +- const_evaluatable_checked + )] + pub mod msg; + pub mod sync; +--- common/src/lib.rs.orig 2021-09-10 20:02:36 UTC ++++ common/src/lib.rs +@@ -7,7 +7,6 @@ + arbitrary_enum_discriminant, + associated_type_defaults, + bool_to_option, +- const_generics, + fundamental, + iter_map_while, + label_break_value, +--- voxygen/anim/src/lib.rs.orig 2021-09-10 20:02:36 UTC ++++ voxygen/anim/src/lib.rs +@@ -1,4 +1,3 @@ +-#![feature(const_generics)] + #![feature(generic_associated_types)] + #![allow(incomplete_features)] + #[cfg(all(feature = "be-dyn-lib", feature = "use-dyn-lib"))] +--- voxygen/src/lib.rs.orig 2021-09-10 20:02:36 UTC ++++ voxygen/src/lib.rs +@@ -7,7 +7,6 @@ + array_methods, + array_zip, + bool_to_option, +- const_generics, + drain_filter, + once_cell, + trait_alias +--- world/src/lib.rs.orig 2021-09-10 20:02:36 UTC ++++ world/src/lib.rs +@@ -10,7 +10,6 @@ + #![feature( + arbitrary_enum_discriminant, + bool_to_option, +- const_generics, + const_panic, + label_break_value, + array_map |