blob: c3023dcbb1f72c3fc23c6328c5295d2605ef0109 [file] [log] [blame]
###############################################################################
# @generated
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
# regenerate this file, run the following:
#
# bazel run @@//:crates_vendor
###############################################################################
load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
load("@rules_rust//rust:defs.bzl", "rust_library")
package(default_visibility = ["//visibility:public"])
# licenses([
# "TODO", # MIT OR Apache-2.0
# ])
rust_library(
name = "cortex_m",
srcs = glob(["**/*.rs"]),
compile_data = glob(
include = ["**"],
exclude = [
"**/* *",
"BUILD",
"BUILD.bazel",
"WORKSPACE",
"WORKSPACE.bazel",
],
),
crate_root = "src/lib.rs",
edition = "2018",
rustc_flags = ["--cap-lints=allow"],
tags = [
"cargo-bazel",
"crate-name=cortex-m",
"manual",
"noclippy",
"norustfmt",
],
version = "0.7.7",
deps = [
"//crates/vendor/bare-metal-0.2.5:bare_metal",
"//crates/vendor/bitfield-0.13.2:bitfield",
"//crates/vendor/cortex-m-0.7.7:build_script_build",
"//crates/vendor/embedded-hal-0.2.7:embedded_hal",
"//crates/vendor/volatile-register-0.2.1:volatile_register",
],
)
cargo_build_script(
name = "cortex-m_build_script",
srcs = glob(["**/*.rs"]),
crate_name = "build_script_build",
crate_root = "build.rs",
data = glob(
include = ["**"],
exclude = [
"**/* *",
"BUILD",
"BUILD.bazel",
"WORKSPACE",
"WORKSPACE.bazel",
],
),
edition = "2018",
links = "cortex-m",
rustc_flags = [
"--cap-lints=allow",
],
tags = [
"cargo-bazel",
"crate-name=cortex-m",
"manual",
"noclippy",
"norustfmt",
],
version = "0.7.7",
visibility = ["//visibility:private"],
)
alias(
name = "build_script_build",
actual = "cortex-m_build_script",
tags = ["manual"],
)