<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/test/codegen/naked-noinline.rs, branch 1.66.1</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.66.1</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.66.1'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2022-07-07T05:44:54+00:00</updated>
<entry>
<title>Stop emitting CET prologues for naked functions</title>
<updated>2022-07-07T05:44:54+00:00</updated>
<author>
<name>Jubilee Young</name>
<email>workingjubilee@gmail.com</email>
</author>
<published>2022-07-07T02:07:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=92174f988b0cde631ffac0dbcc9f8fca413d566e'/>
<id>urn:sha1:92174f988b0cde631ffac0dbcc9f8fca413d566e</id>
<content type='text'>
We can apply nocf_check as a hack for now.
</content>
</entry>
<entry>
<title>Reject unsupported naked functions</title>
<updated>2022-01-21T16:38:21+00:00</updated>
<author>
<name>Tomasz Miąsko</name>
<email>tomasz.miasko@gmail.com</email>
</author>
<published>2022-01-21T00:00:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=888332fee42bfccd2a1d1c3d249431c0b741d8ef'/>
<id>urn:sha1:888332fee42bfccd2a1d1c3d249431c0b741d8ef</id>
<content type='text'>
Transition unsupported naked functions future incompatibility lint into
an error:

* Naked functions must contain a single inline assembly block.
  Introduced as future incompatibility lint in 1.50 #79653.
  Change into an error fixes a soundness issue described in #32489.

* Naked functions must not use any forms of inline attribute.
  Introduced as future incompatibility lint in 1.56 #87652.
</content>
</entry>
<entry>
<title>Stabilize asm! and global_asm!</title>
<updated>2021-12-12T11:20:03+00:00</updated>
<author>
<name>Amanieu d'Antras</name>
<email>amanieu@gmail.com</email>
</author>
<published>2021-12-10T00:15:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=44a3a66ee890545a2c1ac78ff8f107fe5e7204f9'/>
<id>urn:sha1:44a3a66ee890545a2c1ac78ff8f107fe5e7204f9</id>
<content type='text'>
They are also removed from the prelude as per the decision in
https://github.com/rust-lang/rust/issues/87228.

stdarch and compiler-builtins are updated to work with the new, stable
asm! and global_asm! macros.
</content>
</entry>
<entry>
<title>Add needs-asm-support to more tests</title>
<updated>2021-08-18T01:43:09+00:00</updated>
<author>
<name>Josh Stone</name>
<email>jistone@redhat.com</email>
</author>
<published>2021-08-18T01:43:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=35fd99c7790d7310fd3c2ddabe02bd7a33a45e55'/>
<id>urn:sha1:35fd99c7790d7310fd3c2ddabe02bd7a33a45e55</id>
<content type='text'>
These were found as test failures on s390x for RHEL and Fedora.
</content>
</entry>
<entry>
<title>Bump mir-opt-level from 2 to 3 in tests</title>
<updated>2021-03-05T20:13:57+00:00</updated>
<author>
<name>Santiago Pastorino</name>
<email>spastorino@gmail.com</email>
</author>
<published>2021-03-04T13:35:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=af63afc09a1912146ce5d2ce226d4308587421d5'/>
<id>urn:sha1:af63afc09a1912146ce5d2ce226d4308587421d5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Never inline naked functions</title>
<updated>2020-11-20T00:00:00+00:00</updated>
<author>
<name>Tomasz Miąsko</name>
<email>tomasz.miasko@gmail.com</email>
</author>
<published>2020-11-20T00:00:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c2fb99984c2ed4b54f5b8baff26fcc04af71d032'/>
<id>urn:sha1:c2fb99984c2ed4b54f5b8baff26fcc04af71d032</id>
<content type='text'>
The `#[naked]` attribute disabled prologue / epilogue emission for the
function and it is responsibility of a developer to provide them. The
compiler is no position to inline such functions correctly.

Disable inlining of naked functions at LLVM and MIR level.
</content>
</entry>
</feed>
