• M
    Encode codemap and span information in crate metadata. · 2f886555
    Michael Woerister 提交于
    This allows to create proper debuginfo line information for items inlined from other crates (e.g. instantiations of generics).
    Only the codemap's 'metadata' is stored in a crate's metadata. That is, just filename, line-beginnings, etc. but not the actual source code itself. We are thus missing the opportunity of making Rust the first "open-source-only" programming language out there. Pity.
    2f886555
decoder.rs 56.0 KB