Fix build with no crash-report.

Bug: NONE
Test: Compile

Change-Id: Idb905038e1982babcd2ff936674986d9ff24ac8c
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3777068
Tested-by: Doug Horn <doughorn@google.com>
Reviewed-by: Vikram Auradkar <auradkar@google.com>
Commit-Queue: Doug Horn <doughorn@google.com>
This commit is contained in:
Doug Horn 2022-07-20 15:05:14 -07:00 committed by crosvm LUCI
parent 33974789a7
commit 8d79dbb21c

View file

@ -1336,7 +1336,7 @@ pub struct Config {
pub process_invariants_data_handle: Option<u64>,
#[cfg(feature = "process-invariants")]
pub process_invariants_data_size: Option<usize>,
#[cfg(feature = "crash-report")]
#[cfg(windows)]
pub product_channel: Option<String>,
#[cfg(windows)]
pub product_name: Option<String>,
@ -1532,7 +1532,7 @@ impl Default for Config {
process_invariants_data_handle: None,
#[cfg(feature = "process-invariants")]
process_invariants_data_size: None,
#[cfg(feature = "crash-report")]
#[cfg(windows)]
product_name: None,
protected_vm: ProtectionType::Unprotected,
pstore: None,