You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thread 'main' panicked at 'called Result::unwrap() on an Err value: Os { code: 18, kind: CrossesDevices, message: "Invalid cross-device link" }', xtask/src/download.rs:19:30
When change fs::rename to fs::copy in the line where the error was reported, the error disappeared.
Document of Rust STD library shows that std::fs::rename will not work if the new name is on a different mount point. And I tested it locally, it does report the same error when I rename file to a different mount point.
The text was updated successfully, but these errors were encountered:
the panic is as follows:
When change
fs::rename
tofs::copy
in the line where the error was reported, the error disappeared.Document of Rust STD library shows that
std::fs::rename
will not work if the new name is on a different mount point. And I tested it locally, it does report the same error when I rename file to a different mount point.The text was updated successfully, but these errors were encountered: