docs(packaging): add the 6.4.3 release entry
All checks were successful
Flatpak / flatpak (push) Successful in 13m58s

6.4.3 has lint parse a file for the rules that read its AST with the
libc++ of the compiler that builds it, so that in the Flatpak those
rules run on a file that includes a header of the C++ standard library
(#46), and gives the scan of a build's sources the compiler where it is
installed, so that a build whose compiler is reached through a link
from another directory scans them.

A patch, by the version rule: the notes have Fixes and nothing New or
Breaking. The range adds Toolchain::installedDir,
Toolchain::installedDirAsWritten and
Toolchain::InstalledClangxx(command), which interfaces/ exports, for the
linter and the scan to read. They are not under New, as ObjectPath,
which 6.4.1 exported for the tests, was not.
This commit is contained in:
Jorijn van der Graaf 2026-11-27 16:16:38 +01:00
commit cb8914d387
Signed by: jorijnvdgraaf
GPG key ID: 2937E59CDCC1BCFB

View file

@ -26,6 +26,15 @@
</provides>
<content_rating type="oars-1.1"/>
<releases>
<release version="6.4.3" date="2026-11-27">
<description>
<p>Fixes</p>
<ul>
<li>In crafter-build's Flatpak, <code>crafter-build lint</code> runs the rules that read a file's AST on a source that includes a header of the C++ standard library, such as <code>&lt;algorithm&gt;</code>, in a build for the host that names no libc++ directory of its own through a sysroot, <code>CRAFTER_BUILD_LIBCXX_DIR</code> or its flags (#46). There such a source built, and lint then ran none of those rules on it, printed <code>'algorithm' file not found</code> and exited 1. The parse of such a build took the first libc++ it found under <code>../include</code> from the working directory, <code>/usr/local/include</code> and <code>/usr/include</code>, wherever the build's compiler keeps its own (<code>/app</code> in the Flatpak, whose <code>/usr</code> has none). It now looks for libc++ where the compiler does, and reads the default configuration files beside the compiler that the compile reads, such as <code>clang++.cfg</code>.</li>
<li>A build no longer fails to scan its sources where its compiler is reached through a link from another directory, as a <code>bin/clang++</code> under <code>CRAFTER_BUILD_LLVM_DIR</code> may be. clang-scan-deps, which reads what a source declares and imports since 6.4.2, looked for clang's own headers from the directory of the link, and for libc++'s too in a build for the host that names no libc++ directory of its own, and where they were not to be found from there, the scan of a source that includes a header of the C++ standard library failed, and the build with it, though its compile found the header. It is now given the compiler in the directory the compiler says it is installed in, as lint's parse is, and reads the default configuration files beside the compiler that the compile reads.</li>
</ul>
</description>
</release>
<release version="6.4.2" date="2026-11-27">
<description>
<p>Fixes</p>