<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libsyntax/errors/snippet/test.rs, branch try</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=try</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=try'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2016-06-23T12:07:35+00:00</updated>
<entry>
<title>Move errors from libsyntax to its own crate</title>
<updated>2016-06-23T12:07:35+00:00</updated>
<author>
<name>Jonathan Turner</name>
<email>jturner@mozilla.com</email>
</author>
<published>2016-06-21T22:08:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6ae350213485f7c917113f3916e58c51cef97a76'/>
<id>urn:sha1:6ae350213485f7c917113f3916e58c51cef97a76</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add an abs_path member to FileMap, use it when writing debug info.</title>
<updated>2016-06-16T17:08:46+00:00</updated>
<author>
<name>Ted Mielczarek</name>
<email>ted@mielczarek.org</email>
</author>
<published>2016-06-09T20:36:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=24e7491660845e52240afc36acf332b92547b0a1'/>
<id>urn:sha1:24e7491660845e52240afc36acf332b92547b0a1</id>
<content type='text'>
When items are inlined from extern crates, the filename in the debug info
is taken from the FileMap that's serialized in the rlib metadata.
Currently this is just FileMap.name, which is whatever path is passed to rustc.
Since libcore and libstd are built by invoking rustc with relative paths,
they wind up with relative paths in the rlib, and when linked into a binary
the debug info uses relative paths for the names, but since the compilation
directory for the final binary, tools trying to read source filenames
will wind up with bad paths. We noticed this in Firefox with source
filenames from libcore/libstd having bad paths.

This change stores an absolute path in FileMap.abs_path, and uses that
if available for writing debug info. This is not going to magically make
debuggers able to find the source, but it will at least provide sensible
paths.
</content>
</entry>
<entry>
<title>Back to single line between errors. Add header space to secondary files</title>
<updated>2016-05-24T14:42:32+00:00</updated>
<author>
<name>Jonathan Turner</name>
<email>jturner@mozilla.com</email>
</author>
<published>2016-05-24T14:42:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=00b78d0d6ad5985a29d9b1b001e81dbb1bf624b6'/>
<id>urn:sha1:00b78d0d6ad5985a29d9b1b001e81dbb1bf624b6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Better handling of tab in error</title>
<updated>2016-05-12T07:28:13+00:00</updated>
<author>
<name>Seo Sanghyeon</name>
<email>sanxiyn@gmail.com</email>
</author>
<published>2016-05-09T14:09:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c3310327552163e2d19bea1f38287dab22d38028'/>
<id>urn:sha1:c3310327552163e2d19bea1f38287dab22d38028</id>
<content type='text'>
</content>
</entry>
<entry>
<title>degrade gracefully with empty spans</title>
<updated>2016-05-03T10:15:39+00:00</updated>
<author>
<name>Niko Matsakis</name>
<email>niko@alum.mit.edu</email>
</author>
<published>2016-05-03T10:11:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f030b5dbc29b20b964f2cc448d893998080b1a46'/>
<id>urn:sha1:f030b5dbc29b20b964f2cc448d893998080b1a46</id>
<content type='text'>
</content>
</entry>
<entry>
<title>update unit tests</title>
<updated>2016-05-02T15:49:26+00:00</updated>
<author>
<name>Niko Matsakis</name>
<email>niko@alum.mit.edu</email>
</author>
<published>2016-04-30T01:13:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=95576b8ec40538fc311029dd838d2a22c0e9af7f'/>
<id>urn:sha1:95576b8ec40538fc311029dd838d2a22c0e9af7f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix snippet tests MORE!</title>
<updated>2016-05-02T15:49:25+00:00</updated>
<author>
<name>Niko Matsakis</name>
<email>niko@alum.mit.edu</email>
</author>
<published>2016-04-27T14:45:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=790043b44e0c078c0f80b16cd03d1aeac6ef242b'/>
<id>urn:sha1:790043b44e0c078c0f80b16cd03d1aeac6ef242b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix tests better</title>
<updated>2016-05-02T15:49:25+00:00</updated>
<author>
<name>Niko Matsakis</name>
<email>niko@alum.mit.edu</email>
</author>
<published>2016-04-27T02:52:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ba12ed06edf119c1d543158b8d0ac7d7ec503d82'/>
<id>urn:sha1:ba12ed06edf119c1d543158b8d0ac7d7ec503d82</id>
<content type='text'>
</content>
</entry>
<entry>
<title>only emit `^` at the start of a multi-line error</title>
<updated>2016-05-02T15:49:25+00:00</updated>
<author>
<name>Niko Matsakis</name>
<email>niko@alum.mit.edu</email>
</author>
<published>2016-04-26T16:33:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1fdbfcdbd0a6a63317872fef24222533bbc8cfaf'/>
<id>urn:sha1:1fdbfcdbd0a6a63317872fef24222533bbc8cfaf</id>
<content type='text'>
as a result, simplify elision code
</content>
</entry>
<entry>
<title>Nit: address various style nits</title>
<updated>2016-05-02T15:49:24+00:00</updated>
<author>
<name>Niko Matsakis</name>
<email>niko@alum.mit.edu</email>
</author>
<published>2016-04-26T17:06:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f6496cd3700a9a4e3dc1a6d3245287066f4b99e4'/>
<id>urn:sha1:f6496cd3700a9a4e3dc1a6d3245287066f4b99e4</id>
<content type='text'>
</content>
</entry>
</feed>
