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
After updating to the latest version, I got this fatal error
error: couldn't read /home/runner/work/czkawka/czkawka/target/x86_64-pc-windows-gnu/release/build/trash-f33a0c13f66e2bf6/out/windows.rs: No such file or directory (os error 2)
--> /home/runner/.cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/trash-2.0.1/src/windows.rs:18:5
|
18 | ::windows::include_bindings!();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
error: aborting due to previous error
error: could not compile `trash`
To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed
Error: Process completed with exit code 101.
I'm using Ubuntu 20.04 and Mingw to crosscompile app to Windows
Cross compilation doesn't seem to be possible with the current version of windows-rs. See: microsoft/windows-rs#638
The additions since version 1 of trash-rs are not possible to implement using winapi, as it was described here: #11 (comment)
So the solution I'd suggest to you is to keep using the latest of version 1 of trash-rs, if you don't want to build natively on Windows. If you do manage to solve this, a PR would be welcome.
After updating to the latest version, I got this fatal error
I'm using Ubuntu 20.04 and Mingw to crosscompile app to Windows
CI - https://github.com/qarmin/czkawka/pull/321/checks?check_run_id=2518327467
The text was updated successfully, but these errors were encountered: