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 ffd9155 commit 5e5dd7aCopy full SHA for 5e5dd7a
src/hyperlight_wasm/src/sandbox/sandbox_builder.rs
@@ -104,6 +104,14 @@ impl SandboxBuilder {
104
self
105
}
106
107
+ /// Set the size of the memory buffer that is made available
108
+ /// for serialising host function definitions the minimum value
109
+ /// is MIN_FUNCTION_DEFINITION_SIZE
110
+ pub fn with_function_definition_size(mut self, size: usize) -> Self {
111
+ self.config.set_host_function_definition_size(size);
112
+ self
113
+ }
114
+
115
/// Get the current configuration
116
pub fn get_config(&self) -> &SandboxConfiguration {
117
&self.config
0 commit comments