// 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. package { default_applicable_licenses: ["external_crosvm_license"], default_team: "trendy_team_foundation_security_rust_pkvm_", } rust_test { name: "hypervisor_test_src_lib", defaults: ["crosvm_inner_defaults"], host_supported: true, crate_name: "hypervisor", cargo_env_compat: true, cargo_pkg_version: "0.1.0", crate_root: "src/lib.rs", test_suites: ["general-tests"], auto_gen_config: true, test_options: { unit_test: false, }, edition: "2021", features: [ "geniezone", "gunyah", ], rustlibs: [ "libanyhow", "libbase_rust", "libbit_field_crosvm", "libbitflags", "libcros_fdt", "libdata_model", "libdowncast_rs", "libfnv", "libkvm_sys", "liblibc", "libonce_cell", "libserde", "libserde_json", "libsync_rust", "libvm_memory", "libzerocopy", ], proc_macros: [ "libenumn", "libhypervisor_test_macro", ], } rust_test { name: "hypervisor_test_tests_dirty_log", defaults: ["crosvm_inner_defaults"], host_supported: true, crate_name: "dirty_log", cargo_env_compat: true, cargo_pkg_version: "0.1.0", crate_root: "tests/dirty_log.rs", test_suites: ["general-tests"], auto_gen_config: true, test_options: { unit_test: false, }, edition: "2021", features: [ "geniezone", "gunyah", ], rustlibs: [ "libanyhow", "libbase_rust", "libbit_field_crosvm", "libbitflags", "libcros_fdt", "libdata_model", "libdowncast_rs", "libfnv", "libhypervisor", "libkvm_sys", "liblibc", "libonce_cell", "libserde", "libserde_json", "libsync_rust", "libvm_memory", "libzerocopy", ], proc_macros: [ "libenumn", "libhypervisor_test_macro", ], } rust_test { name: "hypervisor_test_tests_hypervisor_virtualization", defaults: ["crosvm_inner_defaults"], host_supported: true, crate_name: "hypervisor_virtualization", cargo_env_compat: true, cargo_pkg_version: "0.1.0", crate_root: "tests/hypervisor_virtualization.rs", test_suites: ["general-tests"], auto_gen_config: true, test_options: { unit_test: false, }, edition: "2021", features: [ "geniezone", "gunyah", ], rustlibs: [ "libanyhow", "libbase_rust", "libbit_field_crosvm", "libbitflags", "libcros_fdt", "libdata_model", "libdowncast_rs", "libfnv", "libhypervisor", "libkvm_sys", "liblibc", "libonce_cell", "libserde", "libserde_json", "libsync_rust", "libvm_memory", "libzerocopy", ], proc_macros: [ "libenumn", "libhypervisor_test_macro", ], } rust_test { name: "hypervisor_test_tests_kvm_main", defaults: ["crosvm_inner_defaults"], host_supported: true, crate_name: "kvm", cargo_env_compat: true, cargo_pkg_version: "0.1.0", crate_root: "tests/kvm/main.rs", test_suites: ["general-tests"], auto_gen_config: true, test_options: { unit_test: false, }, edition: "2021", features: [ "geniezone", "gunyah", ], rustlibs: [ "libanyhow", "libbase_rust", "libbit_field_crosvm", "libbitflags", "libcros_fdt", "libdata_model", "libdowncast_rs", "libfnv", "libhypervisor", "libkvm_sys", "liblibc", "libonce_cell", "libserde", "libserde_json", "libsync_rust", "libvm_memory", "libzerocopy", ], proc_macros: [ "libenumn", "libhypervisor_test_macro", ], } rust_test { name: "hypervisor_test_tests_mmio_and_pio", defaults: ["crosvm_inner_defaults"], host_supported: true, crate_name: "mmio_and_pio", cargo_env_compat: true, cargo_pkg_version: "0.1.0", crate_root: "tests/mmio_and_pio.rs", test_suites: ["general-tests"], auto_gen_config: true, test_options: { unit_test: false, }, edition: "2021", features: [ "geniezone", "gunyah", ], rustlibs: [ "libanyhow", "libbase_rust", "libbit_field_crosvm", "libbitflags", "libcros_fdt", "libdata_model", "libdowncast_rs", "libfnv", "libhypervisor", "libkvm_sys", "liblibc", "libonce_cell", "libserde", "libserde_json", "libsync_rust", "libvm_memory", "libzerocopy", ], proc_macros: [ "libenumn", "libhypervisor_test_macro", ], } rust_test { name: "hypervisor_test_tests_read_only_memory", defaults: ["crosvm_inner_defaults"], host_supported: true, crate_name: "read_only_memory", cargo_env_compat: true, cargo_pkg_version: "0.1.0", crate_root: "tests/read_only_memory.rs", test_suites: ["general-tests"], auto_gen_config: true, test_options: { unit_test: false, }, edition: "2021", features: [ "geniezone", "gunyah", ], rustlibs: [ "libanyhow", "libbase_rust", "libbit_field_crosvm", "libbitflags", "libcros_fdt", "libdata_model", "libdowncast_rs", "libfnv", "libhypervisor", "libkvm_sys", "liblibc", "libonce_cell", "libserde", "libserde_json", "libsync_rust", "libvm_memory", "libzerocopy", ], proc_macros: [ "libenumn", "libhypervisor_test_macro", ], } rust_test { name: "hypervisor_test_tests_real_run_addr", defaults: ["crosvm_inner_defaults"], host_supported: true, crate_name: "real_run_addr", cargo_env_compat: true, cargo_pkg_version: "0.1.0", crate_root: "tests/real_run_addr.rs", test_suites: ["general-tests"], auto_gen_config: true, test_options: { unit_test: false, }, edition: "2021", features: [ "geniezone", "gunyah", ], rustlibs: [ "libanyhow", "libbase_rust", "libbit_field_crosvm", "libbitflags", "libcros_fdt", "libdata_model", "libdowncast_rs", "libfnv", "libhypervisor", "libkvm_sys", "liblibc", "libonce_cell", "libserde", "libserde_json", "libsync_rust", "libvm_memory", "libzerocopy", ], proc_macros: [ "libenumn", "libhypervisor_test_macro", ], } rust_test { name: "hypervisor_test_tests_remove_memory", defaults: ["crosvm_inner_defaults"], host_supported: true, crate_name: "remove_memory", cargo_env_compat: true, cargo_pkg_version: "0.1.0", crate_root: "tests/remove_memory.rs", test_suites: ["general-tests"], auto_gen_config: true, test_options: { unit_test: false, }, edition: "2021", features: [ "geniezone", "gunyah", ], rustlibs: [ "libanyhow", "libbase_rust", "libbit_field_crosvm", "libbitflags", "libcros_fdt", "libdata_model", "libdowncast_rs", "libfnv", "libhypervisor", "libkvm_sys", "liblibc", "libonce_cell", "libserde", "libserde_json", "libsync_rust", "libvm_memory", "libzerocopy", ], proc_macros: [ "libenumn", "libhypervisor_test_macro", ], } rust_test { name: "hypervisor_test_tests_tsc_offsets", defaults: ["crosvm_inner_defaults"], host_supported: true, crate_name: "tsc_offsets", cargo_env_compat: true, cargo_pkg_version: "0.1.0", crate_root: "tests/tsc_offsets.rs", test_suites: ["general-tests"], auto_gen_config: true, test_options: { unit_test: false, }, edition: "2021", features: [ "geniezone", "gunyah", ], rustlibs: [ "libanyhow", "libbase_rust", "libbit_field_crosvm", "libbitflags", "libcros_fdt", "libdata_model", "libdowncast_rs", "libfnv", "libhypervisor", "libkvm_sys", "liblibc", "libonce_cell", "libserde", "libserde_json", "libsync_rust", "libvm_memory", "libzerocopy", ], proc_macros: [ "libenumn", "libhypervisor_test_macro", ], } rust_library { name: "libhypervisor", defaults: ["crosvm_inner_defaults"], host_supported: true, crate_name: "hypervisor", cargo_env_compat: true, cargo_pkg_version: "0.1.0", crate_root: "src/lib.rs", edition: "2021", features: [ "geniezone", "gunyah", ], rustlibs: [ "libanyhow", "libbase_rust", "libbit_field_crosvm", "libbitflags", "libcros_fdt", "libdata_model", "libdowncast_rs", "libfnv", "libkvm_sys", "liblibc", "libonce_cell", "libserde", "libserde_json", "libsync_rust", "libvm_memory", ], proc_macros: ["libenumn"], visibility: ["//vendor:__subpackages__"], }