[Bug 270604] Mk/Scripts/cargo-crates.awk: [[patch]] in Cargo.lock causes lossy output

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 05 Jan 2024 12:38:37 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270604

Tobias Kortkamp <tobik@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #242442|                            |maintainer-approval-
              Flags|                            |

--- Comment #2 from Tobias Kortkamp <tobik@freebsd.org> ---
Comment on attachment 242442
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=242442
0001-cargo-crates.awk-any-new-section-terminates-the-curr.patch

Coming back to this I don't think it's reasonable to support invalid Cargo.lock
files. I don't think this is a regular occurrence anyway.

A proper solution would need a rewrite of cargo-crates.awk with a TOML parser
anyway and not what I proposed here.

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