about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/counters.rs
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2021-11-05 10:32:41 +0900
committerGitHub <noreply@github.com>2021-11-05 10:32:41 +0900
commitdbaf2de0bb9fd1e89b2abf33f4e4194cc90b273a (patch)
treecf38ad9e513da80eb36bfd816890d3e27454dcbc /compiler/rustc_mir_transform/src/coverage/counters.rs
parent282d696009c74f8fc1487cff3b8dc28e6eb7041b (diff)
parent773cc4f52b7f6bfa5b9ad0878583fb0ac9e9f2ea (diff)
downloadrust-dbaf2de0bb9fd1e89b2abf33f4e4194cc90b273a.tar.gz
rust-dbaf2de0bb9fd1e89b2abf33f4e4194cc90b273a.zip
Rollup merge of #90533 - Smittyvb:patch-1, r=joshtriplett
Add note about x86 instruction prefixes in asm! to unstable book

Since rustc doesn't do the assembly parsing itself, it is unable to detect when inline assembly ends with an instruction prefix, which doesn't make sense since it would apply to instructions from the compiler. This fixes #82314 by mentioning that x86 instruction prefixes must not be used in inline assembly. AFAICT x86 is the only instruction set with instruction prefixes.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/counters.rs')
0 files changed, 0 insertions, 0 deletions