Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Feb 2024 00:50:51 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: e17e6f176826 - 2024Q1 - games/veloren-weekly: Fix build with rust 1.75.0
Message-ID:  <202402080050.4180ops6033837@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch 2024Q1 has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e17e6f176826f124a9ee4bef975662682ea65ded

commit e17e6f176826f124a9ee4bef975662682ea65ded
Author:     Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2023-12-31 09:31:25 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-02-08 00:50:09 +0000

    games/veloren-weekly: Fix build with rust 1.75.0
    
    error[E0557]: feature has been removed
     --> rtsim/src/lib.rs:5:5
      |
    5 |     generators,
      |     ^^^^^^^^^^ feature has been removed
      |
      = note: renamed to `coroutines`
    
    error[E0635]: unknown feature `generator_trait`
     --> rtsim/src/lib.rs:4:5
      |
    4 |     generator_trait,
    
    PR:             276033
    Approved by:    portmgr (build fix blanket)
    
    (cherry picked from commit d0c14d04136e43828d0c8184efc8d9105c9fd502)
---
 games/veloren-weekly/files/patch-rust-1.75.0 | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/games/veloren-weekly/files/patch-rust-1.75.0 b/games/veloren-weekly/files/patch-rust-1.75.0
new file mode 100644
index 000000000000..1bee42c6caaf
--- /dev/null
+++ b/games/veloren-weekly/files/patch-rust-1.75.0
@@ -0,0 +1,12 @@
+--- rtsim/src/lib.rs.orig	2023-12-31 09:26:17 UTC
++++ rtsim/src/lib.rs
+@@ -1,8 +1,7 @@
+ #![feature(
+     never_type,
+     try_blocks,
+-    generator_trait,
+-    generators,
++    coroutines,
+     trait_alias,
+     trait_upcasting,
+     control_flow_enum,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202402080050.4180ops6033837>