]> git.lizzy.rs Git - rust.git/commit
debuginfo: Don't create debuginfo for statics inlined from other crates.
authorMichael Woerister <michaelwoerister@posteo>
Thu, 10 Apr 2014 08:25:13 +0000 (10:25 +0200)
committerAlex Crichton <alex@alexcrichton.com>
Thu, 10 Apr 2014 22:21:57 +0000 (15:21 -0700)
commit5099b8c863150675450631347436b7d220f4efd3
tree24b6bf33f4250483d7c0f2f2666ffe559cd332d2
parentc26d25466d93cefea6cf81ec3f0e64200a7150be
debuginfo: Don't create debuginfo for statics inlined from other crates.

Fixes issue #13213, that is linker errors when the inlined static has been optimized out of the exporting crate.
src/librustc/middle/trans/debuginfo.rs
src/test/auxiliary/issue13213aux.rs [new file with mode: 0644]
src/test/debug-info/issue13213.rs [new file with mode: 0644]