Add checking whether the stdin is tty on Rust

Code uses libc version of isatty().
Merge branch 'master' of github.com:JIghtuse/rosetta

Conflicts:
	.gitignore