Skip to content

Commit

Permalink
Re-enable improper_ctypes lint on bindings
Browse files Browse the repository at this point in the history
The linked issue rust-lang/rust#34798
has since been fixed, and rust will not warn if
PhantomData is used in FFI structs.
See also: rust-lang/rust#39462
  • Loading branch information
jschwe committed Apr 21, 2024
1 parent 8885917 commit 3717a03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ pub fn succeeded(error: FT_Error) -> bool {
error == freetype::FT_Err_Ok as FT_Error
}

#[allow(improper_ctypes)] // https://github.com/rust-lang/rust/issues/34798
#[deny(improper_ctypes)]
pub mod freetype;
pub mod tt_os2;

0 comments on commit 3717a03

Please sign in to comment.