]> git.lizzy.rs Git - rust.git/commit
Auto merge of #53648 - japaric:thumb-lld, r=alexcrichton
authorbors <bors@rust-lang.org>
Mon, 27 Aug 2018 06:30:10 +0000 (06:30 +0000)
committerbors <bors@rust-lang.org>
Mon, 27 Aug 2018 06:30:10 +0000 (06:30 +0000)
commit7625c031670bf33e2fb23816736ff10aa2ee6733
treee6daff0bb42f38609e4502091170b04387b5b2a0
parent3a2c603eeabad012298f391f09c0b526eabeb5af
parentd65a64e31b8a5007b4ee0fb1dbd4cad2176859ab
Auto merge of #53648 - japaric:thumb-lld, r=alexcrichton

change the default linker of the ARM Cortex-M targets

to rust-lld so users won't need an external linker to build programs

This will break nightly builds.

We discussed this within the embedded WG and with the embedded community in
rust-embedded/wg#160 and there was consensus in that this breaking change is
worthwhile and that we should do it now before it becomes impossible to do
without breaking stable builds.

We have already written an announcement (see rust-embedded/wg#196) that explains
the breakage and instructs the users how to fix their builds. The TL;DR is that
they can switch to the old behavior by passing the `-C linker` flag to rustc.
We'll post the announcement as soon as this change makes into nightly.

closes rust-embedded/wg#160

r? @alexcrichton