[lightbeam] Fix clippy warnings + update dependencies (#661)
* [lightbeam] fix compiler warnings * [lightbeam] fix sign mask clippy warning * [lightbeam] fix clippy warning: match -> if let * [lightbeam] fix some hex-literal clippy warnings * [lightbeam] fix some more simple clippy warnings * [lightbeam] convert if -> match (clippy suggestion) * [lightbeam] fix some more clippy warnings * [lightbeam] add #Safety section to doc comment of execute_func_unchecked * [lightbeam] rename into_temp_reg -> put_into_temp_register * [lightbeam] rename to_temp_reg -> clone_to_temp_register * [lightbeam] rename into_reg -> put_into_register * [lightbeam] rename to_reg -> clone_to_register * [lightbeam] rename into_temp_loc -> put_into_temp_location * [lightbeam] apply rustfmt * [lightbeam] update dynasm 0.5.1 -> 0.5.2 * [lightbeam] update wasmparser 0.39.1 -> 0.44.0 * [lightbeam] update other dependencies
This commit is contained in:
committed by
Sergei Pepyakin
parent
bb5f063edf
commit
3716a863be
@@ -148,8 +148,12 @@ pub struct ExecutableModule {
|
||||
}
|
||||
|
||||
impl ExecutableModule {
|
||||
/// Executes the function _without checking types_. This can cause undefined
|
||||
/// memory to be accessed.
|
||||
/// Executes the function identified by `func_idx`.
|
||||
///
|
||||
/// # Safety
|
||||
///
|
||||
/// Executes the function _without_ checking the argument types.
|
||||
/// This can cause undefined memory to be accessed.
|
||||
pub unsafe fn execute_func_unchecked<Args: FunctionArgs<T>, T>(
|
||||
&self,
|
||||
func_idx: u32,
|
||||
|
||||
Reference in New Issue
Block a user