For maintainability, rustc::front::test it should only be generating calls into std::test, so either there should be an os::args reexport in std::test or (my preference) test_main should contain the call to os::args and there should be a separate function for executing the console test running while providing the args.
For maintainability,
rustc::front::testit should only be generating calls intostd::test, so either there should be anos::argsreexport instd::testor (my preference)test_mainshould contain the call toos::argsand there should be a separate function for executing the console test running while providing the args.