rust: Remove uneeded typecasting in evmc-declare
@@ -353,8 +353,8 @@ fn build_create_fn(names: &VMNameSet) -> proc_macro2::TokenStream {
execute: Some(__evmc_execute),
get_capabilities: Some(__evmc_get_capabilities),
set_option: Some(__evmc_set_option),
- name: unsafe { ::std::ffi::CStr::from_bytes_with_nul_unchecked(#static_name_ident.as_bytes()).as_ptr() as *const i8 },
- version: unsafe { ::std::ffi::CStr::from_bytes_with_nul_unchecked(#static_version_ident.as_bytes()).as_ptr() as *const i8 },
+ name: unsafe { ::std::ffi::CStr::from_bytes_with_nul_unchecked(#static_name_ident.as_bytes()).as_ptr() },
+ version: unsafe { ::std::ffi::CStr::from_bytes_with_nul_unchecked(#static_version_ident.as_bytes()).as_ptr() },
};
let container = ::evmc_vm::EvmcContainer::<#type_ident>::new(new_instance);
