We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60fc31d commit 12dc47fCopy full SHA for 12dc47f
vm/src/vm.rs
@@ -73,7 +73,7 @@ pub struct VirtualMachine {
73
}
74
75
pub const NSIG: usize = 64;
76
-pub const MAX_MEMORY_SIZE: usize = ((std::isize::MAX >> 3) + 1) as usize;
+pub const MAX_MEMORY_SIZE: usize = (std::usize::MAX >> 3) + 1;
77
78
#[derive(Copy, Clone)]
79
pub enum InitParameter {
0 commit comments