mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 22:02:55 +01:00
Begin building libunwind.a as part of the runtimes (#6381)
This is the first real step towards building libc++ itself, and fleshes out both the core runtimes management logic and the archive-based runtimes logic for a quite simple runtime. Nothing here causes us to _use_ libunwind, and in fact this doesn't include even the "on-demand" aspect of building `libunwind`. Instead, this just wires it up to the explicit `build-runtimes` subcommand for simple testing. The full integration along side the target directory is future work.
This commit is contained in:
@@ -225,6 +225,11 @@ auto InstallPaths::llvm_runtime_srcs() const -> std::filesystem::path {
|
||||
"/src";
|
||||
}
|
||||
|
||||
auto InstallPaths::libunwind_path() const -> std::filesystem::path {
|
||||
// TODO: Adjust this to work equally well on Windows.
|
||||
return prefix_ / "lib/carbon/libunwind";
|
||||
}
|
||||
|
||||
auto InstallPaths::digest_path() const -> std::filesystem::path {
|
||||
// TODO: Adjust this to work equally well on Windows.
|
||||
return prefix_ / "lib/carbon/install_digest.txt";
|
||||
|
||||
Reference in New Issue
Block a user