This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Don't use -fdiagnostics-color=never for rustc
- From: Pedro Alves <palves at redhat dot com>
- To: Tom Tromey <tom at tromey dot com>, gdb-patches at sourceware dot org
- Date: Tue, 5 Sep 2017 12:08:40 +0100
- Subject: Re: [RFA] Don't use -fdiagnostics-color=never for rustc
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx10.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx10.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=palves at redhat dot com
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 3EEA96147A
- References: <20170904051630.18976-1-tom@tromey.com>
On 09/04/2017 06:16 AM, Tom Tromey wrote:
> I noticed that the gdb.rust tests fail because the test suite passes
> -fdiagnostics-color=never to rustc. This is not a recognized rustc
> option, and the test suite already handles passing the appropriate
> option to the Rust compiler.
>
> This patch fixes the problem.
Funny that the "error: Unrecognized option: 'f'." error message
comes out in color, even though "--color never" had been specified
earlier.
Patch is OK.
Thanks,
Pedro Alves