git: e00f01fcbd91 - main - games/veloren-weekly: drop rust < 1.86 workaround after 11e425bbfd6e
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 17 Apr 2025 00:57:09 UTC
The branch main has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=e00f01fcbd91d0e995a8af562aa514427bc7c673
commit e00f01fcbd91d0e995a8af562aa514427bc7c673
Author: Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2025-04-17 00:00:46 +0000
Commit: Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2025-04-17 00:54:06 +0000
games/veloren-weekly: drop rust < 1.86 workaround after 11e425bbfd6e
---
games/veloren-weekly/files/patch-rust-1.84 | 29 -----------------------------
1 file changed, 29 deletions(-)
diff --git a/games/veloren-weekly/files/patch-rust-1.84 b/games/veloren-weekly/files/patch-rust-1.84
deleted file mode 100644
index 24e2051c51d0..000000000000
--- a/games/veloren-weekly/files/patch-rust-1.84
+++ /dev/null
@@ -1,29 +0,0 @@
-Drop after lang/rust >= 1.86 update per https://github.com/rust-lang/rust/commit/cbd44d799800
-
-error[E0658]: cannot cast `dyn ai::Action<S, R>` to `dyn std::any::Any`, trait upcasting coercion is experimental
- --> rtsim/src/ai/mod.rs:126:16
- |
-126 | match (other as &dyn Any).downcast_ref::<Self>() {
- | ^^^^^
- |
-error[E0658]: cannot cast `dyn ai::Action<S, R>` to `dyn std::any::Any`, trait upcasting coercion is experimental
- --> rtsim/src/ai/mod.rs:375:16
- |
-375 | match (other as &dyn Any).downcast_ref::<Self>() {
- | ^^^^^
- |
- = note: see issue #65991 <https://github.com/rust-lang/rust/issues/65991> for more information
- = help: add `#![feature(trait_upcasting)]` to the crate attributes to enable
- = note: this compiler was built on 2025-01-07; consider upgrading it if it is out of date
- = note: required when coercing `&(dyn ai::Action<S, R> + 'static)` into `&(dyn std::any::Any + 'static)`
-
---- rtsim/src/lib.rs.orig 2025-02-19 10:27:05 UTC
-+++ rtsim/src/lib.rs
-@@ -137,6 +137,7 @@
- //! See [`rule::npc_ai`].
-
- #![feature(never_type, let_chains, binary_heap_drain_sorted)]
-+#![feature(trait_upcasting)]
-
- pub mod ai;
- pub mod data;