Update to Cranelift 0.28.0.

Also region 2.0.0 and bindgen 0.47.1.
This commit is contained in:
Dan Gohman
2019-01-23 00:08:45 -08:00
parent 2ac0ceda14
commit 78f89f67a3
5 changed files with 7 additions and 6 deletions

View File

@@ -117,7 +117,7 @@ impl LinearMemory {
new_mmap.as_mut_slice()[..copy_len].copy_from_slice(&self.mmap.as_slice()[..copy_len]);
self.mmap = new_mmap;
} else {
} else if delta_bytes > 0 {
// Make the newly allocated pages accessible.
self.mmap.make_accessible(prev_bytes, delta_bytes).ok()?;
}