about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/Linker.cpp
diff options
context:
space:
mode:
authorFlorian Warzecha <liketechnik@disroot.org>2020-10-21 12:36:07 +0200
committerFlorian Warzecha <liketechnik@disroot.org>2020-10-21 18:04:18 +0200
commit3948b054dc8e598b83a194056dc4d3a0852dc79e (patch)
tree64dda3a4d42d191fd42afe7fea86252daf2fdc14 /compiler/rustc_llvm/llvm-wrapper/Linker.cpp
parent554633534c550d20715e5e1576702b1f035586ad (diff)
downloadrust-3948b054dc8e598b83a194056dc4d3a0852dc79e.tar.gz
rust-3948b054dc8e598b83a194056dc4d3a0852dc79e.zip
add rustc_allow_const_fn_unstable attribute
allow_internal_unstable is currently used
to side-step feature gate and stability checks.
While it was originally only meant to be used
only on macros, its use was expanded to
const functions.

This commit prepares stricter checks for the usage of allow_internal_unstable (only on macros)
and introduces the rustc_allow_const_fn_unstable attribute for usage on functions.

See rust-lang/rust#69399
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/Linker.cpp')
0 files changed, 0 insertions, 0 deletions