mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-08-19 22:41:15 +00:00
With Rust 1.49 using attributes on a function parameter is not allowed. The recommended workaround is to put it in a new block. error[E0658]: attributes on expressions are experimental --> vmm/src/memory_manager.rs:698:17 | 698 | #[cfg(target_arch = "x86_64")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: see issue #15701 <https://github.com/rust-lang/rust/issues/15701> for more information error: removing an expression is not supported in this position --> vmm/src/memory_manager.rs:698:17 | 698 | #[cfg(target_arch = "x86_64")] | Signed-off-by: Rob Bradford <robert.bradford@intel.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |