diff --git a/utils/wasm-gen/src/generator/syscalls/invocator.rs b/utils/wasm-gen/src/generator/syscalls/invocator.rs index 97437400950..f70ab7edaa8 100644 --- a/utils/wasm-gen/src/generator/syscalls/invocator.rs +++ b/utils/wasm-gen/src/generator/syscalls/invocator.rs @@ -653,7 +653,9 @@ impl<'a, 'b> SyscallsInvocator<'a, 'b> { // Alloc syscall: returns u32::MAX (= -1i32) in case of error. -1 } - ParamType::Regular(RegularParamType::Free | RegularParamType::FreeUpperBound) => { + ParamType::Regular( + RegularParamType::Free | RegularParamType::FreeUpperBound, + ) => { // Free/FreeRange syscall: returns 1 in case of error. 1 } diff --git a/utils/wasm-instrument/src/syscalls.rs b/utils/wasm-instrument/src/syscalls.rs index 06a967f8138..cd5f3b08a99 100644 --- a/utils/wasm-instrument/src/syscalls.rs +++ b/utils/wasm-instrument/src/syscalls.rs @@ -607,7 +607,7 @@ pub enum RegularParamType { Handler, // i32 handler number Alloc, // i32 pages to alloc Free, // i32 page number to free - FreeUpperBound, // i32 free upper bound for use with free_range. Should be placed after Free in fn signature + FreeUpperBound, // i32 free upper bound for use with free_range Version, // i32 version number of exec settings }