Re: [dev-servo] ./mach build vs. cargo build

2018-04-03 Thread Simon Sapin
On 03/04/18 23:30, Emilio Cobos Álvarez wrote: or the bit to use the gold linker. The best outcome IMO would be to make that the default: https://github.com/rust-lang/rust/issues/30783 This was implemented and then reverted because of Debian Wheezy (oldoldstable), whose LTS ends next month

[dev-servo] ./mach build vs. cargo build

2018-04-03 Thread Emilio Cobos Álvarez
Hi, I was suggested to take this to the mailing list, so here I am. Right now doing ./mach build, then cargo build, or vice versa, causes a full rebuild, which is really painful[1]. The way to fix this is making mach build don't touch RUSTFLAGS, at least by default[2]. This requires making opt-