mirror of
https://github.com/denoland/deno.git
synced 2025-10-03 07:34:36 +00:00
chore: upgrade to rust 1.58 (#13377)
This commit is contained in:
parent
903cb48fe9
commit
ad224f53c7
17 changed files with 29 additions and 46 deletions
|
@ -57,6 +57,7 @@ struct Symbol {
|
|||
result_type: NativeType,
|
||||
}
|
||||
|
||||
#[allow(clippy::non_send_fields_in_send_ty)]
|
||||
unsafe impl Send for Symbol {}
|
||||
unsafe impl Sync for Symbol {}
|
||||
|
||||
|
@ -92,8 +93,7 @@ impl DynamicLibraryResource {
|
|||
Ok(value) => Ok(value),
|
||||
Err(err) => Err(generic_error(format!(
|
||||
"Failed to register symbol {}: {}",
|
||||
symbol,
|
||||
err.to_string()
|
||||
symbol, err
|
||||
))),
|
||||
}?;
|
||||
let ptr = libffi::middle::CodePtr::from_ptr(fn_ptr as _);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue