Update source for Rust 1.74.1
Test: m rust
Bug: 310977762
Change-Id: I2fc22bf54a8ec3a88191ce0410709a6c2f0beebd
diff --git a/pvmfw/src/device_assignment.rs b/pvmfw/src/device_assignment.rs
index 3d060ac..54b5a47 100644
--- a/pvmfw/src/device_assignment.rs
+++ b/pvmfw/src/device_assignment.rs
@@ -601,7 +601,7 @@
}
impl DeviceAssignmentInfo {
- const PVIOMMU_COMPATIBLE: &CStr = cstr!("pkvm,pviommu");
+ const PVIOMMU_COMPATIBLE: &'static CStr = cstr!("pkvm,pviommu");
/// Parses pvIOMMUs in fdt
// Note: This will validate pvIOMMU ids' uniqueness, even when unassigned.