Michael Woerister f65823e39c Add scoped thread-local encoding and decoding contexts to cstore.
With this commit, metadata encoding and decoding can make use of
thread-local encoding and decoding contexts. These allow implementers
of serialize::Encodable and Decodable to access information and
datastructures that would otherwise not be available to them. For
example, we can automatically translate def-id and span information
during decoding because the decoding context knows which crate the
data is decoded from. Or it allows to make ty::Ty decodable because
the context has access to the ty::ctxt that is needed for creating
ty::Ty instances.
2015-12-09 09:47:32 -05:00
..
2015-10-27 23:47:53 +13:00
2015-07-30 06:35:42 +10:00
2015-11-02 08:45:38 -08:00
2015-11-19 11:30:18 -05:00
2015-11-13 15:15:51 -05:00
2013-10-29 16:22:08 -07:00
2015-11-16 18:55:07 -05:00
2015-11-13 15:15:51 -05:00
2015-11-30 14:55:26 -05:00