No, you can only assume you can’t possibly know. The problem is not unique to Rust. You’d also need to know whether a program was compiled with MinGW, or compiled with MSVC with
setargv on, or is a Go program using
So Rust can’t make it any worse for users of other shells — this problem already exists for all Windows programs. But Rust can at least make it less bad for users of the built-in cmd though.
That’s not for me to choose (IMHO the best solution is not to use Windows at all). But I get bug reports from users that my program worked as expected in MinGW-compiled version, and the Rust does not.