Teach rustc to deal with argv

a0966cf
Opened by Graydon Hoare at 2011-02-23 02:33:48

Rustc doesn't know how to compile a program that takes command line args. It needs to learn. The tests are argv.rs and command-line-args.rs.

  1. Hah. "easy" it says. Yeah, whatever. Four days of fighting ABI later, I present cset af4d6ae76b05d4edb9d7074b971600a447c9c9a4, which fixes most of it. Remainder came in a leak-plugging in cset d7f7634c955deaf55cf11071d5e92300a059be61.

    Graydon Hoare at 2011-02-23 02:33:48