mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-02-12 14:41:36 +00:00
CI reports clippy errors: error: argument to `Path::join` starts with a path separator --> tests/integration.rs:4076:58 | 4076 | let serial_socket = guest.tmp_dir.as_path().join("/tmp/serial.socket"); | ^^^^^^^^^^^^^^^^^^^^ | = note: joining a path starting with separator will replace the path instead = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#join_absolute_paths Signed-off-by: Yi Wang <foxywang@tencent.com> (cherry picked from commit ee2f0c3cb4fc3d014af3b85f3da8bfe1d41c6e48)