File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 1
1
use fvm_shared:: error:: ExitCode ;
2
2
use fvm_shared:: sys:: SyscallSafe ;
3
3
use fvm_shared:: version:: NetworkVersion ;
4
- use num_traits:: FromPrimitive ;
5
4
6
5
use super :: error:: Abort ;
7
6
use super :: Context ;
Original file line number Diff line number Diff line change 7
7
//!
8
8
//! Read more at https://github.com/rust-lang/rust/issues/73755.
9
9
10
+ // NOTE: When possible, pack fields such that loads will be power-of-two aligned. Un-aligned loads
11
+ // _can_ be done (LLVM will generate the appropriate code) but are slower.
12
+ //
13
+ // Read up on https://doc.rust-lang.org/reference/type-layout.html for more information.
14
+ //
15
+ // Also, please also read the docs on super::SyscallSafe before modifying any of these types.
16
+
10
17
pub mod actor {
11
18
#[ derive( Debug , Copy , Clone ) ]
12
19
#[ repr( packed, C ) ]
You can’t perform that action at this time.
0 commit comments