mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 22:02:55 +01:00
Move the core standard library to the installation. (#3995)
This removes the `data_dir` from the driver favoring the installation abstraction for the both locating the prelude and linking utilities. With this, an installed toolchain should also be able to compile and link Carbon successfully, and the build of the examples should exercise this path almost exactly. (The only difference is using the driver `cc_binary` directly rather than relying on the symlink from inside the install tree.)
This commit is contained in:
@@ -29,7 +29,7 @@ extern "C" int LLVMFuzzerTestOneInput(const unsigned char* data,
|
||||
// TODO: We should try to thread the executable path into here.
|
||||
const auto install_paths = InstallPaths::Make("");
|
||||
llvm::raw_null_ostream null_ostream;
|
||||
Driver driver(fs, &install_paths, "", null_ostream, null_ostream);
|
||||
Driver driver(fs, &install_paths, null_ostream, null_ostream);
|
||||
|
||||
// TODO: Get checking to a point where it can handle invalid parse trees
|
||||
// without crashing.
|
||||
|
||||
Reference in New Issue
Block a user