mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 22:02:55 +01:00
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:
@@ -102,7 +102,9 @@ class PreludeCompileBenchmark {
|
||||
if (mem_usage) {
|
||||
driver.set_mem_usage(mem_usage);
|
||||
}
|
||||
return driver.RunCommand({"compile", "--phase=check", InputFileName})
|
||||
return driver
|
||||
.RunCommand({"compile", "--phase=check", "--no-include-carbon-core",
|
||||
InputFileName})
|
||||
.success;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user