1// This file is generated by cargo_embargo. 2// Do not modify this file after the first "rust_*" or "genrule" module 3// because the changes will be overridden on upgrade. 4// Content before the first "rust_*" or "genrule" module is preserved. 5 6package { 7 default_applicable_licenses: ["external_crosvm_license"], 8} 9 10rust_library { 11 name: "libriscv64", 12 defaults: ["crosvm_inner_defaults"], 13 host_supported: true, 14 crate_name: "riscv64", 15 cargo_env_compat: true, 16 cargo_pkg_version: "0.1.0", 17 crate_root: "src/lib.rs", 18 edition: "2021", 19 features: [ 20 "gdb", 21 "gdbstub", 22 "gdbstub_arch", 23 ], 24 rustlibs: [ 25 "libarch", 26 "libbase_rust", 27 "libcros_fdt", 28 "libdevices", 29 "libgdbstub", 30 "libgdbstub_arch", 31 "libhypervisor", 32 "libkernel_cmdline", 33 "liblibc", 34 "libminijail_rust", 35 "librand", 36 "libresources", 37 "libsync_rust", 38 "libthiserror", 39 "libvm_control", 40 "libvm_memory", 41 ], 42 proc_macros: ["libremain"], 43} 44