Skip to content

Commit 0eba609

Browse files
ClaudeBrooooooklyn
andauthored
fix: allow function_casts_as_integer lint in sys-test (#52)
This fixes clippy warnings when running with -D warnings flag. The warnings were occurring in ctest2-generated code which performs direct casts of function items to integers. Added the allow attribute to suppress these warnings in the test code. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: anthropic-code-agent[bot] <242468646+Claude@users.noreply.github.com> Co-authored-by: Brooooooklyn <3468483+Brooooooklyn@users.noreply.github.com>
1 parent 809fcda commit 0eba609

File tree

1 file changed

+1
-1
lines changed
  • libmimalloc-sys/sys-test/src

1 file changed

+1
-1
lines changed

libmimalloc-sys/sys-test/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![allow(bad_style, clippy::all)]
1+
#![allow(bad_style, clippy::all, function_casts_as_integer)]
22

33
use libmimalloc_sys2::*;
44

0 commit comments

Comments
 (0)