1
Fork 0

libsyntax_pos => 2018

This commit is contained in:
Taiki Endo 2019-02-04 03:42:27 +09:00
parent fc6e9a2845
commit 6413480adf
7 changed files with 51 additions and 60 deletions

View file

@ -36,7 +36,7 @@ pub fn analyze_source_file(
(lines, multi_byte_chars, non_narrow_chars)
}
cfg_if! {
cfg_if::cfg_if! {
if #[cfg(all(any(target_arch = "x86", target_arch = "x86_64")))] {
fn analyze_source_file_dispatch(src: &str,
source_file_start_pos: BytePos,