unicorn-engine / unicorn

Unicorn CPU emulator framework (ARM, AArch64, M68K, Mips, Sparc, PowerPC, RiscV, S390x, TriCore, X86)
http://www.unicorn-engine.org
GNU General Public License v2.0
7.34k stars 1.31k forks source link

Fix clippy warnings #1850

Closed mlgiraud closed 11 months ago

mlgiraud commented 12 months ago

This PR fixes a few clippy warnings caused by an outdated bitflags crate. Also adds two allow annotations for the raw pointer handles.

wtdcode commented 11 months ago

LGTM

wtdcode commented 11 months ago

But compilation fails, could you check it? It seems straightforward to fix.

mlgiraud commented 11 months ago

Done, should compile now. Forgot to run tests locally. It was just a missing derive(Copy)

wtdcode commented 11 months ago

Merged, thanks!