Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Oct 2023 10:23:39 +0000
From:      bugzilla-noreply@freebsd.org
To:        gecko@FreeBSD.org
Subject:   [Bug 274499] lang/rust: Update to 1.73.0
Message-ID:  <bug-274499-21738-nHCOhyqef1@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-274499-21738@https.bugs.freebsd.org/bugzilla/>
References:  <bug-274499-21738@https.bugs.freebsd.org/bugzilla/>

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

--- Comment #10 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=3D3e99d4e978144e6e424bda44e3041ab=
fc6cc92bf

commit 3e99d4e978144e6e424bda44e3041abfc6cc92bf
Author:     Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2023-10-16 10:39:44 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2023-10-24 10:21:47 +0000

    databases/gobang: Fix build with rust 1.73.0

    Import upstream patch to fix the following build error with rust 1.73.0
    error[E0308]: mismatched types
      -->
/wrkdirs/usr/ports/databases/gobang/work/gobang-0.1.0-alpha.5/cargo-crates/=
num-bigint-0.3.2/src/biguint/convert.rs:70:19
       |
    70 |         .div_ceil(&big_digit::BITS.into())
       |          -------- ^^^^^^^^^^^^^^^^^^^^^^^ expected `u64`, found `&=
_`
       |          |
       |          arguments to this method are incorrect

    error[E0308]: mismatched types
       -->
/wrkdirs/usr/ports/databases/gobang/work/gobang-0.1.0-alpha.5/cargo-crates/=
num-bigint-0.3.2/src/biguint/convert.rs:585:19
        |
    585 |         .div_ceil(&u64::from(bits))
        |          -------- ^^^^^^^^^^^^^^^^ expected `u64`, found `&u64`
        |          |
        |          arguments to this method are incorrect

    PR:             274499
    Approved by:    portmgr (build fix blanket)

 databases/gobang/Makefile                      |  2 +-
 databases/gobang/files/patch-rust-1.73.0 (new) | 64 ++++++++++++++++++++++=
++++
 2 files changed, 65 insertions(+), 1 deletion(-)

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



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