summaryrefslogtreecommitdiffstats
path: root/contrib/persistent-https
diff options
context:
space:
mode:
authorD. Ben Knoble <ben.knoble+github@gmail.com>2025-12-18 18:25:44 -0500
committerJunio C Hamano <gitster@pobox.com>2025-12-19 17:57:26 +0900
commitc469ca26c588918cfad439636a26fbefa2049b1d (patch)
treeb738b9df0a7049d2498a8c47f61dbb9c51865533 /contrib/persistent-https
parentbeb1789f08371f3245303680ef53ff6e235b9ed3 (diff)
downloadgit-c469ca26c588918cfad439636a26fbefa2049b1d.tar.gz
git-c469ca26c588918cfad439636a26fbefa2049b1d.zip
rust: build correctly without GNU sed
From e509b5b8be (rust: support for Windows, 2025-10-15), we check cargo's information to decide which library to build. However, that check mistakenly used "sed -s" ("consider files as separate rather than as a single, continuous long stream"), which is a GNU extension. The build thus fails on macOS with "meson -Drust=enabled", which comes with BSD-derived sed. Instead, use the intended "sed -n" and print the matching section of the output. This failure mode likely went unnoticed on systems with GNU sed (common for developer machines and CI) because, in those instances, the output being matched by case is the full cargo output (which either contains the string "-windows-" or doesn't). Helped-by: Eric Sunshine <sunshine@sunshineco.com> Helped-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: D. Ben Knoble <ben.knoble+github@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions