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

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 09 Oct 2023 14:38:16 UTC

--- Comment #8 from commit-hook@FreeBSD.org ---
A commit in branch 2023Q4 references this bug:


commit 1e49125934332178017a2508fa182865b47d890f
Author:     Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2023-10-08 16:36:11 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2023-10-09 14:38:00 +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

    (cherry picked from commit 8fae936cf5a65db050d6b0950a912a4f028e34d8)

 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.