$ cargo clippy --all-targets --all-features -- -D warnings
error: this public function might dereference a raw pointer but is not marked `unsafe`
--> src\win_svc.rs:3:1
|
3 | windows_service::define_windows_service!(ffi_service_main, my_service_main);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#not_unsafe_ptr_arg_deref
= note: `#[deny(clippy::not_unsafe_ptr_arg_deref)]` on by default
= note: this error originates in the macro `windows_service::define_windows_service` (in Nightly builds, run with -Z macro-backtrace for more info)