This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Fix test failure with Rust 1.18 and 1.19
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Thu, 18 May 2017 20:19:19 -0400
- Subject: [binutils-gdb] Fix test failure with Rust 1.18 and 1.19
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT ec8df23454873916c6b6b918967af631b268acd8 ***
Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: ec8df23454873916c6b6b918967af631b268acd8
Fix test failure with Rust 1.18 and 1.19
With Rust 1.18 and 1.19, I saw some test suite failures. They were
all of the same form -- Box seems to be qualified in the output now,
like:
print box_some
$64 = core::option::Option<alloc::boxed::Box<u8>>::Some(0x7ffff6c21018 "\001\000")
... where the test was expecting Option<Box<u8>>.
This patch fixes the problem in a way that should work with earlier
versions of Rust.
gdb/testsuite/ChangeLog
2017-05-18 Tom Tromey <tom@tromey.com>
* gdb.rust/simple.exp: Allow Box to be qualified.