mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 19:00:11 +01:00
This let's you point Bazel at an installed toolchain or download one of our release archives. When you do, it will configure itself as a C++ Bazel toolchain. This toolchain works reasonably well, but doesn't cache the C++ runtimes, and so linking is inefficient. The next step will be to pivot the runtimes from the implicitly on-demand (which can't cache when using a sandboxed build system like Bazel) to _explicit_ on-demand runtimes directly with Bazel support. I've included an example Bazel project that uses this and provides a bunch of documentation and an example script that should let folks try this out easily. --------- Co-authored-by: Geoff Romer <gromer@google.com> Co-authored-by: David Blaikie <dblaikie@gmail.com>
11 lines
348 B
C
11 lines
348 B
C
// Part of the Carbon Language project, under the Apache License v2.0 with LLVM
|
|
// Exceptions. See /LICENSE for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
|
|
#ifndef CARBON_EXAMPLES_BAZEL_EXAMPLE_H_
|
|
#define CARBON_EXAMPLES_BAZEL_EXAMPLE_H_
|
|
|
|
auto HelloWorld() -> void;
|
|
|
|
#endif // CARBON_EXAMPLES_BAZEL_EXAMPLE_H_
|