c23a9d42ea
This allows compiling entire crates from memory or preprocessing source files before they are tokenized. Minor API refactoring included, which is a [breaking-change] for libsyntax users: * `ParseSess::{next_node_id, reserve_node_ids}` moved to rustc's `Session` * `new_parse_sess` -> `ParseSess::new` * `new_parse_sess_special_handler` -> `ParseSess::with_span_handler` * `mk_span_handler` -> `SpanHandler::new` * `default_handler` -> `Handler::new` * `mk_handler` -> `Handler::with_emitter` * `string_to_filemap(sess source, path)` -> `sess.codemap().new_filemap(path, source)` |
||
---|---|---|
.. | ||
target | ||
abi.rs | ||
archive.rs | ||
arm.rs | ||
lib.rs | ||
mips.rs | ||
mipsel.rs | ||
rpath.rs | ||
sha2.rs | ||
svh.rs | ||
target_strs.rs | ||
tempdir.rs | ||
x86_64.rs | ||
x86.rs |