# Copyright lowRISC contributors. | |
# Licensed under the Apache License, Version 2.0, see LICENSE for details. | |
# SPDX-License-Identifier: Apache-2.0 | |
load("@rules_rust//rust:defs.bzl", "rust_binary") | |
load("//third_party/cargo:crates.bzl", "all_crate_deps") | |
package(default_visibility = ["//visibility:public"]) | |
rust_binary( | |
name = "opentitansession", | |
srcs = [ | |
"src/main.rs", | |
], | |
deps = [ | |
"//sw/host/opentitanlib", | |
] + all_crate_deps(), | |
) | |
filegroup( | |
name = "test_resources", | |
srcs = [ | |
":opentitansession", | |
], | |
) |