about summary refs log tree commit diff
path: root/compiler/rustc_query_impl/src
diff options
context:
space:
mode:
authorLokathor <zefria@gmail.com>2022-11-07 12:07:07 -0700
committerLokathor <zefria@gmail.com>2022-11-25 15:19:16 -0700
commitea4794321224964060b931d962a9a6ee7e59ac7c (patch)
treedbd3584527aa06cbca986cecbbf44b6caa3b4bc3 /compiler/rustc_query_impl/src
parent68f77297c0f199e00ff98f4b6bd71a74e75ec09c (diff)
downloadrust-ea4794321224964060b931d962a9a6ee7e59ac7c.tar.gz
rust-ea4794321224964060b931d962a9a6ee7e59ac7c.zip
Refine instruction_set inline rules
Previously an exact match of the `instruction_set` attribute was required for an MIR inline to be considered. This change checks for an exact match *only* if the callee sets an `instruction_set` in the first place. When the callee does not declare an instruction set then it is considered to be platform agnostic code and it's allowed to be inline'd into the caller.
Diffstat (limited to 'compiler/rustc_query_impl/src')
0 files changed, 0 insertions, 0 deletions