<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/tests/ui/asm/binary_asm_labels_allowed.rs, branch 1.89.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.89.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.89.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2024-07-18T20:00:56+00:00</updated>
<entry>
<title>Change `binary_asm_labels` to only fire on x86 and x86_64</title>
<updated>2024-07-18T20:00:56+00:00</updated>
<author>
<name>Trevor Gross</name>
<email>tmgross@umich.edu</email>
</author>
<published>2024-07-18T20:00:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9387a7523ec4a3668159aa2d9eff8d7a1cb8700b'/>
<id>urn:sha1:9387a7523ec4a3668159aa2d9eff8d7a1cb8700b</id>
<content type='text'>
In &lt;https://github.com/rust-lang/rust/pull/126922&gt;, the
`binary_asm_labels` lint was added which flags labels such as `0:` and
`1:`. Before that change, LLVM was giving a confusing error on
x86/x86_64 because of an incorrect interpretation.

However, targets other than x86 and x86_64 never had the error message
and have not been a problem. This means that the lint was causing code
that previously worked to start failing (e.g. `compiler_builtins`),
rather than only providing a more clear messages where there has always
been an error.

Adjust the lint to only fire on x86 and x86_64 assembly to avoid this
regression.
</content>
</entry>
</feed>
