mozilla/rust — pull request #8684 by michaelwoerister (2013-08-22 15:17:24+00:00)
Title: debuginfo: Some refactoring and fix for #8670

This PR contains some code cleanup and the fix for issue #8670.
I am not sure about issue #8442 (could not reproduce it). @jdm, could check after this is merged and possibly close the issue then?

Some interesting facts: With this commit, it should be possible to compile libstd with `-Zdebug-info` (it does not work yet with `-Zextra-debug-info` but we are getting there). Switching debug info on increases the compile time for libstd by about 2 seconds.

@catamorphism I get one failing test in rustpkg:
`package_script_with_default_build` says: `task failed at 'Couldn't copy file', /home/mw/rust/src/librustpkg/tests.rs:689`
Would you have any idea what that is about? Seems be something wrong on my machine...

Cheers,
Michael

Fixes #8670