mozilla/rust — pull request #2578 by erickt (2012-06-13 16:42:30+00:00)
Title: fix cargo installing in ./.cargo, and other misc things

Good morning all,

The main commit fixes a Cargo bug. It currently doesn't work in the local directory mode because it tries to make a ./.cargo/work directory before the .cargo gets made.

Also, in order to suppress the cargo warnings about failing to install the OSX .dSYM directories, I switched cargo to use `cp -r` instead of `cp`. I'm not sure if this is portable to windows though. We need to create our own recursive copy. I'll file a bug report for that.