aboutsummaryrefslogtreecommitdiff
path: root/games/veloren-weekly/files/patch-rust-1.72
diff options
context:
space:
mode:
Diffstat (limited to 'games/veloren-weekly/files/patch-rust-1.72')
-rw-r--r--games/veloren-weekly/files/patch-rust-1.7219
1 files changed, 19 insertions, 0 deletions
diff --git a/games/veloren-weekly/files/patch-rust-1.72 b/games/veloren-weekly/files/patch-rust-1.72
new file mode 100644
index 000000000000..c8fc812a243d
--- /dev/null
+++ b/games/veloren-weekly/files/patch-rust-1.72
@@ -0,0 +1,19 @@
+Drop after lang/rust >= 1.74 update
+
+error[E0658]: use of unstable library feature 'io_error_other'
+ --> common/assets/src/tar_source.rs:147:42
+ |
+147 | entry.path().map_err(io::Error::other)?.as_ref(),
+ | ^^^^^^^^^^^^^^^^
+ |
+ = note: see issue #91946 <https://github.com/rust-lang/rust/issues/91946> for more information
+ = help: add `#![feature(io_error_other)]` to the crate attributes to enable
+
+--- common/assets/src/lib.rs.orig 2023-10-18 12:03:13 UTC
++++ common/assets/src/lib.rs
+@@ -1,4 +1,5 @@
+ //#![warn(clippy::pedantic)]
++#![feature(io_error_other)]
+ //! Load assets (images or voxel data) from files
+
+ use dot_vox::DotVoxData;