Closed
Description
Projects wishing to use unsafe_op_in_unsafe_fn
can allow
the warning when importing the bindings.
However, it would be ideal if bindgen
would offer a way (e.g. command-line flag) to generate bindings with unsafe
blocks inside unsafe fn
s as needed.
That way, projects can forbid
it globally, and those that just deny
it do not need to write the allow
themselves.