[Bug 273280] Mk/Uses/cargo.mk: Invalid ${WRKDIR}/.cargo/config.toml is generated

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 08 Oct 2023 16:41:47 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273280

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

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

commit 8fae936cf5a65db050d6b0950a912a4f028e34d8
Author:     Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2023-10-08 16:36:11 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2023-10-08 16:41:17 +0000

    Mk/Scripts/cargo-crates-git-configure.awk: Generate the patch.crates-io
section after parsing all the Cargo.toml files

    If we have multiple Cargo.toml files with the same crates in the
    [patch.crates-io] section we will end up with crates defined mutiple
    times and cargo will refuse to proceed.
    Write this section after parsing all the Cargo.toml files.

    PR:             273280
    Reviewed by:    tobik

 Mk/Scripts/cargo-crates-git-configure.awk | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

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