precompile and cache Carbon prelude (#7432)

Refactors the link driver to automatically compile and cache the carbon
prelude for use in linking.

Implements a `carbon_library` rule for compiling the Core library
dependencies in the examples.
This commit is contained in:
Lucile Rose Nihlen
2026-07-16 18:02:14 +00:00
committed by GitHub
parent 90f6654b48
commit 625f2ca629
63 changed files with 1454 additions and 634 deletions
+2
View File
@@ -36,10 +36,12 @@ constexpr Kind UntestedKinds[] = {
Kind::BuildPreludeManifestError,
Kind::BuildTempDirectoryCreationError,
Kind::BuildTempDirectoryDeletionError,
Kind::CompileCoreManifestError,
Kind::CompilePreludeManifestError,
Kind::ConfigFailedToReadDigest,
Kind::ConfigFailedToSetupTarget,
Kind::DriverInstallInvalid,
Kind::LinkCarbonPreludeBuildFailed,
// These diagnose filesystem issues that are hard to unit test.
Kind::ErrorReadingFile,