fork/rules_rust

git clone https://git.julia.blue/fork/rules_rust

UebelAndreAdded support for producing distribution archives (#1194)cd44b367

0.8.1
668 B30 linesraw
1package(default_visibility = ["//visibility:public"])
2
3# Allows toolchains and targets to constrain themselves based on Rust release
4# channels, for example when depending on features only available in Nightly.
5#
6# https://doc.rust-lang.org/book/appendix-07-nightly-rust.html
7constraint_setting(name = "channel")
8
9constraint_value(
10    name = "beta",
11    constraint_setting = ":channel",
12)
13
14constraint_value(
15    name = "nightly",
16    constraint_setting = ":channel",
17)
18
19constraint_value(
20    name = "stable",
21    constraint_setting = ":channel",
22)
23
24filegroup(
25    name = "distro",
26    srcs = [
27        "BUILD.bazel",
28    ],
29    visibility = ["//:__subpackages__"],
30)