1// This file is generated by cargo_embargo. 2// Do not modify this file because the changes will be overridden on upgrade. 3 4package { 5 default_applicable_licenses: ["external_rust_crates_rustix_license"], 6 default_team: "trendy_team_android_rust", 7} 8 9license { 10 name: "external_rust_crates_rustix_license", 11 visibility: [":__subpackages__"], 12 license_kinds: ["SPDX-license-identifier-Apache-2.0"], 13 license_text: ["LICENSE"], 14} 15 16rust_library { 17 name: "librustix", 18 host_supported: true, 19 crate_name: "rustix", 20 cargo_env_compat: true, 21 cargo_pkg_version: "0.38.31", 22 crate_root: "src/lib.rs", 23 edition: "2021", 24 features: [ 25 "alloc", 26 "event", 27 "fs", 28 "libc", 29 "libc_errno", 30 "mm", 31 "std", 32 "use-libc", 33 "use-libc-auxv", 34 ], 35 cfgs: [ 36 "libc", 37 "static_assertions", 38 ], 39 rustlibs: [ 40 "libbitflags", 41 "liberrno", 42 "liblibc", 43 ], 44 aliases: ["errno:libc_errno"], 45 apex_available: [ 46 "//apex_available:platform", 47 "//apex_available:anyapex", 48 ], 49 product_available: true, 50 vendor_available: true, 51 min_sdk_version: "30", 52 target: { 53 linux: { 54 cfgs: [ 55 "linux_kernel", 56 "linux_like", 57 ], 58 }, 59 android: { 60 cfgs: [ 61 "linux_kernel", 62 "linux_like", 63 ], 64 }, 65 darwin: { 66 cfgs: [ 67 "apple", 68 "bsd", 69 ], 70 }, 71 }, 72 73} 74