Files
carbon-lang/common/build_data_linkstamp.cpp
T
Jon Ross-PerkinsandChandler Carruth b1004012c3 Add linkstamp support to get the target name (#5451)
This removes hardcoding of the test target name from file_test.

---------

Co-authored-by: Chandler Carruth <chandlerc@gmail.com>
2025-05-12 19:01:01 +00:00

15 lines
534 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
#include "common/build_data_linkstamp.h"
namespace Carbon::BuildData::Internal {
const std::string_view platform = GPLATFORM;
const bool build_coverage_enabled = BUILD_COVERAGE_ENABLED;
const std::string_view target_name = G3_TARGET_NAME;
const std::string_view build_target = G3_BUILD_TARGET;
} // namespace Carbon::BuildData::Internal