79 lines
2 KiB
Python
79 lines
2 KiB
Python
"""
|
|
@generated
|
|
cargo-raze crate build file.
|
|
|
|
DO NOT EDIT! Replaced on runs of cargo-raze
|
|
"""
|
|
|
|
# buildifier: disable=load
|
|
load(
|
|
"@io_bazel_rules_rust//rust:rust.bzl",
|
|
"rust_binary",
|
|
"rust_library",
|
|
"rust_test",
|
|
)
|
|
|
|
# buildifier: disable=load
|
|
load("@bazel_skylib//lib:selects.bzl", "selects")
|
|
|
|
package(default_visibility = [
|
|
# Public for visibility by "@raze__crate__version//" targets.
|
|
#
|
|
# Prefer access through "//third_party/cargo", which limits external
|
|
# visibility to explicit Cargo.toml dependencies.
|
|
"//visibility:public",
|
|
])
|
|
|
|
licenses([
|
|
"notice", # MIT from expression "MIT OR Apache-2.0"
|
|
])
|
|
|
|
# Generated Targets
|
|
|
|
# Unsupported target "argument-buffer" with type "example" omitted
|
|
|
|
# Unsupported target "bind" with type "example" omitted
|
|
|
|
# Unsupported target "caps" with type "example" omitted
|
|
|
|
# Unsupported target "compute" with type "example" omitted
|
|
|
|
# Unsupported target "compute-argument-buffer" with type "example" omitted
|
|
|
|
# Unsupported target "embedded-lib" with type "example" omitted
|
|
|
|
# Unsupported target "library" with type "example" omitted
|
|
|
|
# Unsupported target "reflection" with type "example" omitted
|
|
|
|
# Unsupported target "window" with type "example" omitted
|
|
|
|
rust_library(
|
|
name = "metal",
|
|
srcs = glob(["**/*.rs"]),
|
|
crate_features = [
|
|
"default",
|
|
],
|
|
crate_root = "src/lib.rs",
|
|
crate_type = "lib",
|
|
data = [],
|
|
edition = "2018",
|
|
rustc_flags = [
|
|
"--cap-lints=allow",
|
|
],
|
|
tags = [
|
|
"cargo-raze",
|
|
"manual",
|
|
],
|
|
version = "0.18.0",
|
|
# buildifier: leave-alone
|
|
deps = [
|
|
"//third_party/cargo/vendor/bitflags-1.2.1:bitflags",
|
|
"//third_party/cargo/vendor/block-0.1.6:block",
|
|
"//third_party/cargo/vendor/cocoa-0.20.2:cocoa",
|
|
"//third_party/cargo/vendor/core-graphics-0.19.2:core_graphics",
|
|
"//third_party/cargo/vendor/foreign-types-0.3.2:foreign_types",
|
|
"//third_party/cargo/vendor/log-0.4.11:log",
|
|
"//third_party/cargo/vendor/objc-0.2.7:objc",
|
|
],
|
|
)
|