Program arguments are not handled correctly
Created by: stratact
Currently redox::env::args()
doesn't work correctly. It requires the new rustc attribute #[naked]
which was just recently added to rust-lang/rust in a PR. We need to address the functions that do not have standard wrappers, like stack frames, local variables, or a function return. Without this, the arguments passed to the App::main()
method calls will not parse correctly and will hit None
while trying to match, causing inconsistent behaviour.