mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 20:30:14 +01:00
Based on #5920. Added commented out better examples and clarified what is missing to support them. Added `tags` support to `carbon_binary` (based on #5967) to set the `BUILD` rule to manual until we can find `cstdio` in macos. ```shell $ bazel run examples/interop/cpp:hello_world ... Hello world! ```
13 lines
394 B
Python
13 lines
394 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 = "hello_world",
|
|
srcs = ["hello_world.carbon"],
|
|
# TODO: Remove when macos can find cstdio.
|
|
tags = ["manual"],
|
|
)
|