]> git.lizzy.rs Git - rust.git/commit
Fix no_integrated_as option to work with new codegen architecture.
authorVadzim Dambrouski <pftbest@gmail.com>
Mon, 15 Jan 2018 13:42:44 +0000 (16:42 +0300)
committerVadzim Dambrouski <pftbest@gmail.com>
Mon, 15 Jan 2018 13:42:44 +0000 (16:42 +0300)
commit3f61742cc0dee504f050bb9fdbf801e274780a29
tree7693d37dffa93a1fcc37f866c7daf0e0abfc8b23
parent8ff449d505728276e822ca9a80c1e7b2da8288a2
Fix no_integrated_as option to work with new codegen architecture.

Old implementation called the assembler once per crate, but we need to call
it for each object file instead, because a single crate can now have more
than one object file.

This patch fixes issue #45836 (Can't compile core for msp430 in release mode)
src/librustc_trans/back/command.rs
src/librustc_trans/back/write.rs