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
{{ message }}
Repository navigation
asm! lints should be based on cfg rather than target #127938
@estebank I'm a bit light on the details here, and not sure I understand it fully. Do we do anything like this at the current time? It would be great if we could validate assembly for all targets (actual correctness, not just lints), but block-level cfg seems to make that difficult.
Activity
tgross35 commentedon Jul 18, 2024
@estebank I'm a bit light on the details here, and not sure I understand it fully. Do we do anything like this at the current time? It would be great if we could validate assembly for all targets (actual correctness, not just lints), but block-level
cfgseems to make that difficult.tgross35 commentedon Jul 18, 2024
Oh, did you mean
if cfg!(...)rather than attribute config? That seems potentially easier, but I have no clue what level of support these things have.tgross35 commentedon Jul 18, 2024
More info in #127935 (comment)
[-]`asm!` lints based on `cfg` rather than target[/-][+]`asm!` lints should be based on `cfg` rather than target[/+]