We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 06fb4d2 commit 54de274Copy full SHA for 54de274
src/librustc_metadata/index.rs
@@ -58,7 +58,7 @@ impl Index {
58
let pos = buf.position();
59
60
// First we write the length of the lower range ...
61
- buf.write_all(words_to_bytes(&[self.positions[0].len() as u32])).unwrap();
+ buf.write_all(words_to_bytes(&[(self.positions[0].len() as u32).to_le()])).unwrap();
62
// ... then the values in the lower range ...
63
buf.write_all(words_to_bytes(&self.positions[0][..])).unwrap();
64
// ... then the values in the higher range.
0 commit comments