fork/rules_rust

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

UebelAndreUpdate `rust_bindgen_library` to only link into the direct consumer (#2361)23fcf671

patching
263 B15 linesraw
1load("@rules_cc//cc:defs.bzl", "cc_library")
2
3exports_files(
4    [
5        "simple.h",
6    ],
7    visibility = ["//bindgen:__pkg__"],
8)
9
10cc_library(
11    name = "simple",
12    srcs = ["simple.cc"],
13    hdrs = ["simple.h"],
14    visibility = ["//bindgen:__pkg__"],
15)