about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/src
diff options
context:
space:
mode:
authorTomasz Miąsko <tomasz.miasko@gmail.com>2022-01-21 00:00:00 +0000
committerTomasz Miąsko <tomasz.miasko@gmail.com>2022-01-21 17:38:21 +0100
commit888332fee42bfccd2a1d1c3d249431c0b741d8ef (patch)
tree20d62a5fb4d1ca2534200bd94a8315c402fef5bc /compiler/rustc_codegen_gcc/src
parent84e918971d643c6a33067d5125214ab800ce5307 (diff)
downloadrust-888332fee42bfccd2a1d1c3d249431c0b741d8ef.tar.gz
rust-888332fee42bfccd2a1d1c3d249431c0b741d8ef.zip
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.
Diffstat (limited to 'compiler/rustc_codegen_gcc/src')
0 files changed, 0 insertions, 0 deletions