-
Notifications
You must be signed in to change notification settings - Fork 822
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Metering. #450
Metering. #450
Conversation
bors try |
tryBuild failed |
bors try |
@@ -92,6 +92,8 @@ pub struct InternalCtx { | |||
|
|||
pub memory_base: *mut u8, | |||
pub memory_bound: usize, | |||
|
|||
pub internals: *mut [u64; INTERNALS_SIZE], // TODO: Make this dynamic? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we consider embedding array?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Internals are intended to be statically allocated to middleware modules. I think a fixed-size array would be suitable for this case.
bors try |
tryMerge conflict |
bors try |
bors try |
bors try |
bors r+ |
TODO