2 Star 0 Fork 0

mirrors_facebook/buck2-shims-meta

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
BUCK 2.03 KB
一键复制 编辑 原始数据 按行查看 历史
Cullen Walsh 提交于 2024-11-21 09:30 . Add missing test toolchain target
# Copyright (c) Meta Platforms, Inc. and affiliates.
#
# This source code is licensed under both the MIT license found in the
# LICENSE-MIT file in the root directory of this source tree and the Apache
# License, Version 2.0 found in the LICENSE-APACHE file in the root directory
# of this source tree.
load("@prelude//tests:test_toolchain.bzl", "noop_test_toolchain")
load("@prelude//toolchains:cxx.bzl", "system_cxx_toolchain")
load("@prelude//toolchains:genrule.bzl", "system_genrule_toolchain")
load("@prelude//toolchains:go.bzl", "system_go_bootstrap_toolchain", "system_go_toolchain")
load("@prelude//toolchains:haskell.bzl", "system_haskell_toolchain")
load("@prelude//toolchains:ocaml.bzl", "system_ocaml_toolchain")
load("@prelude//toolchains:python.bzl", "system_python_bootstrap_toolchain", "system_python_toolchain")
load("@prelude//toolchains:remote_test_execution.bzl", "remote_test_execution_toolchain")
load("@prelude//toolchains:rust.bzl", "system_rust_toolchain")
oncall("open_source")
system_cxx_toolchain(
name = "cxx",
cxx_flags = ["-std=c++20"],
link_flags = select({
"DEFAULT": [],
"prelude//os:linux": [
"-latomic",
],
}),
visibility = ["PUBLIC"],
)
system_genrule_toolchain(
name = "genrule",
visibility = ["PUBLIC"],
)
system_go_toolchain(
name = "go",
visibility = ["PUBLIC"],
)
system_go_bootstrap_toolchain(
name = "go_bootstrap",
visibility = ["PUBLIC"],
)
system_haskell_toolchain(
name = "haskell",
visibility = ["PUBLIC"],
)
system_ocaml_toolchain(
name = "ocaml",
visibility = ["PUBLIC"],
)
system_python_toolchain(
name = "python",
visibility = ["PUBLIC"],
)
system_python_bootstrap_toolchain(
name = "python_bootstrap",
visibility = ["PUBLIC"],
)
system_rust_toolchain(
name = "rust",
default_edition = "2021",
visibility = ["PUBLIC"],
)
remote_test_execution_toolchain(
name = "remote_test_execution",
visibility = ["PUBLIC"],
)
noop_test_toolchain(
name = "test",
visibility = ["PUBLIC"],
)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_facebook/buck2-shims-meta.git
[email protected]:mirrors_facebook/buck2-shims-meta.git
mirrors_facebook
buck2-shims-meta
buck2-shims-meta
main

搜索帮助