[clang][CFG] Fix lambda capture evaluation order (#211877)
Previously, the captures were emitted in their spelling order - but in
the CFG that gets translared in a reversed order.
Because of this, we need to emit them in reversed order to get them
appear in their natural order.
Fixes rdar://183140177
rust197: add patches so that this works on NetBSD/aarch64eb again.
Pkgsrc changes:
* Add patches to the newer memchr crates so that it also
works on big-endian aarch64.
Patch from https://github.com/BurntSushi/memchr/pull/222,
fixes https://github.com/rust-lang/rust/issues/159919.
(So eventually these patches may be removed once the older
memchr crates are retired by the rust compiler.)
* Checksums + checksum substitutions.
rust197: add an explicit test for "new enough LLVM" to options.mk.
This is so that an attempt at building with an older already-installed
llvm will fail much earlier than long into the rustc build. Leave a
comment where to look for the LLVM requirement in the code.
[docs] Remove release notes for backported changes (#212069)
Commit 68f703f3e58a52c41b39dfc654a675560b6c5614 added these release
notes, but this commit was backported to the 23.x release branch in
47e2df730a099583f16fc6fe64f0d2ffc5b7a16a (included in the 23.1.0 RC 1
tag).
Therefore, remove these release notes from the main branch (where they
would have been included in the 24.x release notes).
[clang] [test] Fix a new test on mingw (#212064)
This fixes running a new test that was added in
4b66bacd1fdf02803509b744034f3ab09945157c, in mingw environments.
The quirks that warranted adding the `!defined(_WIN32)` condition in the
test aren't actually specific to Windows in general, but specific to
MSVC environments - mingw environments behave just like other platforms.
Ideally we'd use `!defined(_MSC_VER)`, however in -cc1 mode, Clang
doesn't automatically define `_MSC_VER`; defining it requires setting a
command line option that the driver normally passes in MSVC mode.
Therefore, qualify the condition as `!defined(_MSC_VER) ||
defined(__MINGW32__)`.