// This file is generated by cargo_embargo. | |
// Do not modify this file after the first "rust_*" or "genrule" module | |
// because the changes will be overridden on upgrade. | |
// Content before the first "rust_*" or "genrule" module is preserved. | |
// TODO: Add 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", | |
"errno", | |
"event", | |
"fs", | |
"libc", | |
"mm", | |
"std", | |
"use-libc", | |
"use-libc-auxv", | |
], | |
cfgs: [ | |
"libc", | |
"linux_kernel", | |
"linux_like", | |
"static_assertions", | |
], | |
rustlibs: [ | |
"libbitflags", | |
"liberrno", | |
"liblibc", | |
], | |
apex_available: [ | |
"//apex_available:platform", | |
"//apex_available:anyapex", | |
], | |
product_available: true, | |
vendor_available: true, | |
} |