about summary refs log tree commit diff
path: root/src/libstd/c_str.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-01-24 00:06:31 -0800
committerbors <bors@rust-lang.org>2014-01-24 00:06:31 -0800
commit4ce84fa1ded0b347e39f8f0830086f19a9cd720a (patch)
treede019383668ca5a2c882680c4332c57c6b811bed /src/libstd/c_str.rs
parentcd8ee786f98352e78d9688948d3d0a325f45bb2d (diff)
parentd908e97da34ecc419024ddcf5004033920ebb9a9 (diff)
downloadrust-4ce84fa1ded0b347e39f8f0830086f19a9cd720a.tar.gz
rust-4ce84fa1ded0b347e39f8f0830086f19a9cd720a.zip
auto merge of #11720 : sfackler/rust/macro-export-source, r=alexcrichton
The old method of serializing the AST gives totally bogus spans if the
expansion of an imported macro causes compilation errors. The best
solution seems to be to serialize the actual textual macro definition
and load it the same way the std-macros are. I'm not totally confident
that getting the source from the CodeMap will always do the right thing,
but it seems to work in simple cases.
Diffstat (limited to 'src/libstd/c_str.rs')
0 files changed, 0 insertions, 0 deletions