blob: af1b982784f6785721134eb0329805747642183b [file]
# Copyright 2026 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
load("//build/bazel/rules/rust:defs.bzl", "rustc_library")
package(default_applicable_licenses = ["//:license"])
rustc_library(
name = "ptr_slice",
srcs = ["src/lib.rs"],
crate_name = "storage_ptr_slice",
edition = "2024",
visibility = [
"//src/storage/fvm:__pkg__",
"//src/storage/fxfs:__subpackages__",
"//src/storage/lib:__subpackages__",
"//src/sys/pkg/lib/fuchsia-merkle:__pkg__",
"//vendor/google:__subpackages__",
],
with_host_unit_tests = True,
deps = ["//third_party/rust_crates/vendor:zerocopy"],
)