From 578a1da60097f7e444b226802bebeb6b9c4464e7 Mon Sep 17 00:00:00 2001 From: Jorijn van der Graaf Date: Fri, 27 Nov 2026 09:25:54 +0100 Subject: [PATCH] docs(packaging): add the 6.4.2 release entry 6.4.2 reads what each .cppm and .cpp declares and imports with clang-scan-deps, which preprocesses the source with its compile command, where it searched the source's text with regular expressions (#45), and so refuses a module built twice for one program, and interface units that import each other, once the dependencies are built. A patch, by the version rule: the notes have Fixes and nothing New or Breaking. The range takes ResolvePendingImports off Configuration, and the pendingImports members off Module, ModulePartition and Implementation, all of which interfaces/ exports, and leaves a configuration's interfaces and implementations empty until a build has read its sources. All of it is the build's own bookkeeping of a configuration's units, as Compile() and `compiled` were, which 6.3.0 took off the same unit classes as "internal and not user facing" (12e8b90), and no project.cpp of this checkout or of the Catcrafts checkouts beside it names any of it (callers.txt in the review's evidence). --- .../flatpak/net.catcrafts.CrafterBuild.metainfo.xml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/packaging/flatpak/net.catcrafts.CrafterBuild.metainfo.xml b/packaging/flatpak/net.catcrafts.CrafterBuild.metainfo.xml index af1f4fa..6f56beb 100644 --- a/packaging/flatpak/net.catcrafts.CrafterBuild.metainfo.xml +++ b/packaging/flatpak/net.catcrafts.CrafterBuild.metainfo.xml @@ -26,6 +26,15 @@ + + +

Fixes

+
    +
  • What a .cppm or .cpp declares and imports is read by clang-scan-deps, which preprocesses the source with the command it is compiled with, where crafter-build searched its text (#45). An import in a comment that spans lines, in a string literal or in a branch that #if leaves out no longer counts; one written with two spaces after import, or with a space before its semicolon, is no longer missed, which let a unit be compiled before the module it imports; and a define or a header decides an import as it does for the compile. A string literal that holds export module std; no longer stops the build. What was read is kept in the build directory, and read again when the source, a file it includes or its compile command changes. The refusal of interface units that import each other, and of a module built twice for one program, comes once the configuration's dependencies are built, before any of its own .cppm and .cpp is compiled, where it came before the configuration built anything.
  • +
  • A project that exports modules and that two paths load with the same flags of its own in two orders is built once where the two orders give it one build directory. The build stopped, taking it for two builds of the project's modules.
  • +
+
+

Fixes