Make Atom 64-bit regardless of architecture

This commit is contained in:
Rujia Liu
2023-08-20 19:43:13 +08:00
parent 7da321ab4f
commit f6d3b2f896
3 changed files with 9 additions and 9 deletions

View File

@@ -150,7 +150,7 @@ pub fn index_static_strings(instruction_rs_path: &std::path::Path) -> TokenStrea
Err(_) => {}
}
let indices = (0..visitor.static_strs.len()).map(|i| i << 3);
let indices = (0..visitor.static_strs.len()).map(|i| (i << 3) as u64);
let indices_iter = indices.clone();
let static_strs_len = visitor.static_strs.len();