fork/rules_rust

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

David TolnayOutside of examples, fill in all `edition` attrs (#1257)03a70796

0.5.0
646 B30 linesraw
1load("//rust:defs.bzl", "rust_binary")
2
3exports_files(
4    [
5        "bootstrap_installer.rs",
6    ],
7    visibility = ["//visibility:public"],
8)
9
10# This target is only used to confirm the source code is buildable
11# in a `cargo_bootstrap_repository` rule.
12rust_binary(
13    name = "bootstrap_installer_bin",
14    srcs = [
15        "bootstrap_installer.rs",
16    ],
17    edition = "2018",
18    rustc_env = {
19        "RULES_RUST_CARGO_BOOTSTRAP_BINARY": "$(rootpath bootstrap_installer.rs)",
20    },
21)
22
23filegroup(
24    name = "distro",
25    srcs = [
26        "BUILD.bazel",
27        "bootstrap_installer.rs",
28    ],
29    visibility = ["//:__subpackages__"],
30)