Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Don't leak missing Safety doc clippy warnings (#538) #539
With rustc 1.40.0, clippy checks that the `unsafe` functions come with a `Safety` section. When running clippy on a downstream crate, the macros such as `glib_wrapper!` leak the clippy warnings for the unsafe functions. Silence the warnings for now.
All the failures are caused by a GLib bug, which would be fixable on our side once https://gitlab.gnome.org/GNOME/glib/merge_requests/1175 is merged in GLib. Unlucking timing that so many of them failed in one build.