aboutsummaryrefslogtreecommitdiff
path: root/tools/buck/toolchains/BUCK
blob: 87ee8933298666ce49a3c4ad26773968702bebec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
load("@prelude//toolchains:cxx.bzl", "system_cxx_toolchain")
load("@prelude//toolchains:python.bzl", "system_python_bootstrap_toolchain")
load("@prelude//toolchains:rust.bzl", "system_rust_toolchain")

system_cxx_toolchain(
    name = "cxx",
    visibility = ["PUBLIC"],
)

system_python_bootstrap_toolchain(
    name = "python_bootstrap",
    visibility = ["PUBLIC"],
)

system_rust_toolchain(
    name = "rust",
    default_edition = None,
    rustc_flags = ["-Clink-arg=-fuse-ld=lld"],
    rustdoc_flags = ["-Zunstable-options"],  # doc builds use unstable '--extern-html-root-url'
    visibility = ["PUBLIC"],
)