about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-01-22 15:32:54 +0100
committerGitHub <noreply@github.com>2022-01-22 15:32:54 +0100
commita8f64c04150f239e480aed6245273391d8bc3ea5 (patch)
treebc2ea97b109499a7ae3f54a36066cf4e5e833383 /compiler/rustc_codegen_gcc
parent5fd9c059efaa76efeb2c85782a94aec343fd8bdc (diff)
parentbeeba4bcea8151cb43b2e5e45d083700cec4a26f (diff)
downloadrust-a8f64c04150f239e480aed6245273391d8bc3ea5.tar.gz
rust-a8f64c04150f239e480aed6245273391d8bc3ea5.zip
Rollup merge of #93153 - tmiasko:reject-unsupported-naked-functions, r=Amanieu
Reject unsupported naked functions

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.

Closes #32490.
Closes #32489.

r? ```@Amanieu``` ```@npmccallum``` ```@joshtriplett```
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions