Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Sep 2023 11:39:41 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 273579] games/veloren-weekly: fails to build with rust 1.72
Message-ID:  <bug-273579-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273579

            Bug ID: 273579
           Summary: games/veloren-weekly: fails to build with rust 1.72
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: jbeich@FreeBSD.org
          Reporter: mikael@FreeBSD.org
          Assignee: jbeich@FreeBSD.org
             Flags: maintainer-feedback?(jbeich@FreeBSD.org)

Created attachment 244658
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D244658&action=
=3Dedit
v0

veloren uses 2 unstables features that were removed in rust 1.72, drain_fil=
ter
[1] and array_zip [2]. drain_filter is easy to patch as it's just a rename =
but
I can't fix array_zip:

error[E0599]: `[f32; 3]` is not an iterator
  --> voxygen/src/render/pipelines/trail.rs:42:27
   |
42 |             pos: self.pos.zip(other.pos).map(|(a, b)| a + b),
   |                           ^^^ `[f32; 3]` is not an iterator; try calli=
ng
`.into_iter()` or `.iter()`
...

Upstream hasn't fixed this error yet.

[1] https://github.com/rust-lang/rfcs/issues/2140
[2] https://github.com/rust-lang/rust/pull/112096

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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