Skip to content

Commit 1a7f3a4

Browse files
committed
chore: in the C API don't show warnings because of the missing unsafe blocks.
In the C API everything is unsafe, we don't want to explicitly mark unsafe calls as unsafe.
1 parent 9d5ef36 commit 1a7f3a4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

capi/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ includes:
9090

9191
#![deny(missing_docs)]
9292
#![allow(non_camel_case_types)]
93+
#![allow(unsafe_op_in_unsafe_fn)]
9394
#![allow(clippy::missing_safety_doc)]
9495
#![allow(clippy::not_unsafe_ptr_arg_deref)]
9596

0 commit comments

Comments
 (0)