You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Comparing pointers in a const context is disallowed without unstable features, but since the pointers are stored as usize, rustc didn't warn of the issue.
There might be other functions that shouldn't be const, this is just the first one I noticed.
The text was updated successfully, but these errors were encountered:
While marking functions as
const
in the PR (#296), I didn't notice a few issues, such asiced/src/rust/iced-x86/src/decoder.rs
Lines 1247 to 1251 in 84fa85b
Comparing pointers in a
const
context is disallowed without unstable features, but since the pointers are stored asusize
, rustc didn't warn of the issue.There might be other functions that shouldn't be
const
, this is just the first one I noticed.The text was updated successfully, but these errors were encountered: