David Freese | 8d3cb68 | 2020-04-22 01:57:30 -0700 | [diff] [blame^] | 1 | """ |
| 2 | cargo-raze crate build file. |
| 3 | |
| 4 | DO NOT EDIT! Replaced on runs of cargo-raze |
| 5 | """ |
| 6 | package(default_visibility = [ |
| 7 | # Public for visibility by "@raze__crate__version//" targets. |
| 8 | # |
| 9 | # Prefer access through "//proto/raze", which limits external |
| 10 | # visibility to explicit Cargo.toml dependencies. |
| 11 | "//visibility:public", |
| 12 | ]) |
| 13 | |
| 14 | licenses([ |
| 15 | "notice", # "MIT,Apache-2.0" |
| 16 | ]) |
| 17 | |
| 18 | load( |
| 19 | "@io_bazel_rules_rust//rust:rust.bzl", |
| 20 | "rust_library", |
| 21 | "rust_binary", |
| 22 | "rust_test", |
| 23 | ) |
| 24 | |
| 25 | |
| 26 | |
| 27 | rust_library( |
| 28 | name = "hermit_abi", |
| 29 | crate_root = "src/lib.rs", |
| 30 | crate_type = "lib", |
| 31 | edition = "2015", |
| 32 | srcs = glob(["**/*.rs"]), |
| 33 | deps = [ |
| 34 | "@raze__libc__0_2_69//:libc", |
| 35 | ], |
| 36 | rustc_flags = [ |
| 37 | "--cap-lints=allow", |
| 38 | ], |
| 39 | version = "0.1.11", |
| 40 | crate_features = [ |
| 41 | "default", |
| 42 | ], |
| 43 | ) |
| 44 | |