Hi folks, Windows user here. Recently installed 1.0.0 stable and manually added the bin folder to the system path. Typing
$ rustc --version in GitBash works as expected.
I’m able to create a rust source file - using the
.rs file extension - and compile into an executable by running
rustc hello_world.rs (which creates
However, I’m not able to run the executable. In GitBash, I receive the error:
sh.exe": ./hello_world: Bad file number
In the command window (with and without Administrator rights) , I receive the error:
Access is denied.
ls -l in GitBash, the access rights are
-rwxr-xr-x on the executable.
Any help would be appreciated. Thanks in advance.
Edit: I’m using Windows 8.1 64-bit. Installed rust from: