| # 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:rustc_dylib.bzl", "rustc_dylib") | |
| package(default_applicable_licenses = ["//:license"]) | |
| rustc_dylib( | |
| name = "rust-shared", | |
| srcs = ["src/lib.rs"], | |
| edition = "2024", | |
| target_compatible_with = ["@platforms//os:fuchsia"], | |
| visibility = ["//examples/rust/dylib/rust-bin:__pkg__"], | |
| ) |