about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2018-02-08 13:11:13 -0800
committerAlex Crichton <alex@alexcrichton.com>2018-02-08 14:46:27 -0800
commit7a20fc14ef255df1ce2c417943605015aba2b1ff (patch)
treef0163032b60fc571fb380761379eb7534bb43401 /src/rustllvm/RustWrapper.cpp
parent35dca7edd3e5181459c8e410a59a1b6e3e97a360 (diff)
downloadrust-7a20fc14ef255df1ce2c417943605015aba2b1ff.tar.gz
rust-7a20fc14ef255df1ce2c417943605015aba2b1ff.zip
Disallow function pointers to #[rustc_args_required_const]
This commit disallows acquiring a function pointer to functions tagged as
`#[rustc_args_required_const]`. This is intended to be used as future-proofing
for the stdsimd crate to avoid taking a function pointer to any intrinsic which
has a hard requirement that one of the arguments is a constant value.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions