about summary refs log tree commit diff
path: root/src/test/debuginfo/tuple-struct.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-05-21 15:02:08 +0000
committerbors <bors@rust-lang.org>2020-05-21 15:02:08 +0000
commit148c125b1bf20674e8d0c55c21b3433a6d465b07 (patch)
tree95cad82e9b74b3e71100435b1060574bf6b8c522 /src/test/debuginfo/tuple-struct.rs
parent06c9fef822b890054fcefa9a567b57eb6edfe638 (diff)
parenta114a237231586e754f8d6de2759e69ee9d90a2c (diff)
downloadrust-148c125b1bf20674e8d0c55c21b3433a6d465b07.tar.gz
rust-148c125b1bf20674e8d0c55c21b3433a6d465b07.zip
Auto merge of #71718 - NeoRaider:ffi_const_pure, r=Amanieu
Experimentally add `ffi_const` and `ffi_pure` extern fn attributes

Add FFI function attributes corresponding to clang/gcc/... `const` and `pure`.

Rebased version of #58327 by @gnzlbg with the following changes:

- Switched back from the `c_ffi_const` and `c_ffi_pure` naming to `ffi_const` and `ffi_pure`, as I agree with https://github.com/rust-lang/rust/pull/58327#issuecomment-462718772 and this nicely aligns with `ffi_returns_twice`
- (Hopefully) took care of all of @hanna-kruppe's change requests in the original PR

r? @hanna-kruppe
Diffstat (limited to 'src/test/debuginfo/tuple-struct.rs')
0 files changed, 0 insertions, 0 deletions