ResourceUnavailable: Program 'cargo.exe' failed to run: The specified executable is not a valid application for this OS platform

After restarting my laptop I'm getting this error when I try to run cargo command. It was working before restarting. Have you ever seen this error before?

ResourceUnavailable: Program 'cargo.exe' failed to run: The specified executable is not a valid application for this OS platform.

All binaries are at .cargo\bin

Platform: Windows 10.
$env:path C:\Users\myuser\.cargo\bin

I would reinstall rust.

Yes I did it. But after rebooting my laptop the same issue is back.