############################################################################### # @generated # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To # regenerate this file, run the following: # # bazel run @//wasm_bindgen/3rdparty:crates_vendor ############################################################################### load( "@rules_rust//rust:defs.bzl", "rust_library", ) package(default_visibility = ["//visibility:public"]) # licenses([ # "TODO", # MIT OR Apache-2.0 # ]) rust_library( name = "cpufeatures", 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", "manual", "noclippy", "norustfmt", ], version = "0.2.5", deps = select({ "@rules_rust//rust/platform:aarch64-apple-darwin": [ "@rules_rust_wasm_bindgen__libc-0.2.139//:libc", # aarch64-apple-darwin ], "@rules_rust//rust/platform:aarch64-linux-android": [ "@rules_rust_wasm_bindgen__libc-0.2.139//:libc", # aarch64-linux-android ], "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ "@rules_rust_wasm_bindgen__libc-0.2.139//:libc", # cfg(all(target_arch = "aarch64", target_os = "linux")) ], "//conditions:default": [], }), )