// This file is generated by cargo_embargo. // Do not modify this file because the changes will be overridden on upgrade. package { default_applicable_licenses: ["external_rust_crates_rustix_license"], default_team: "trendy_team_android_rust", } license { name: "external_rust_crates_rustix_license", visibility: [":__subpackages__"], license_kinds: ["SPDX-license-identifier-Apache-2.0"], license_text: ["LICENSE"], } rust_library { name: "librustix", host_supported: true, crate_name: "rustix", cargo_env_compat: true, cargo_pkg_version: "0.38.31", crate_root: "src/lib.rs", edition: "2021", features: [ "alloc", "event", "fs", "libc", "libc_errno", "mm", "std", "use-libc", "use-libc-auxv", ], cfgs: [ "libc", "static_assertions", ], rustlibs: [ "libbitflags", "liberrno", "liblibc", ], aliases: ["errno:libc_errno"], apex_available: [ "//apex_available:platform", "//apex_available:anyapex", ], product_available: true, vendor_available: true, min_sdk_version: "30", target: { linux: { cfgs: [ "linux_kernel", "linux_like", ], }, android: { cfgs: [ "linux_kernel", "linux_like", ], }, darwin: { cfgs: [ "apple", "bsd", ], }, }, }