mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 22:02:23 +01:00
The driver now looks for all files under core/prelude/ and considers them all to be part of the prelude. The driver also now only processes the prelude in `--phase=check` and later, when it would actually be imported. With that done, add a simple `carbon_binary` build rule and use it to build the example in `//examples`. This should cause the example to be built as part of our continuous integration. --------- Co-authored-by: Jon Ross-Perkins <jperkins@google.com>
11 lines
312 B
Python
11 lines
312 B
Python
# 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
|
|
|
|
load("//bazel/carbon_rules:defs.bzl", "carbon_binary")
|
|
|
|
carbon_binary(
|
|
name = "sieve",
|
|
srcs = ["sieve.carbon"],
|
|
)
|