Skip to content

Commit aa40d51

Browse files
committed
fix: disable snake case linting for dll entrypoint
1 parent 5b2d7b1 commit aa40d51

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ fn load_identity() -> Option<Identity> {
184184

185185
/// Windows DLL entrypoint for the plugin
186186
#[no_mangle]
187+
#[allow(non_snake_case)]
187188
extern "stdcall" fn DllMain(_hmodule: isize, reason: u32, _: *mut ()) -> bool {
188189
match reason {
189190
// Handle attaching

0 commit comments

Comments
 (0)