about summary refs log tree commit diff
path: root/src/test/codegen/align-struct.rs
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2020-04-14 00:19:46 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2020-05-20 01:16:11 +0200
commitabc236414b4bd609513899e651c41f314f71bac4 (patch)
tree4e3b3908a2ab5ec936da026ef507b2366af9229b /src/test/codegen/align-struct.rs
parent3a7dfda40a3e798bf086bd58cc7e5e09deb808b5 (diff)
downloadrust-abc236414b4bd609513899e651c41f314f71bac4.tar.gz
rust-abc236414b4bd609513899e651c41f314f71bac4.zip
Implement `#[ffi_const]` and `#[ffi_pure]` function attributes
Introduce function attribute corresponding to the `const`/`pure`
attributes supported by GCC, clang and other compilers.

Based on the work of gnzlbg <gonzalobg88@gmail.com>.
Diffstat (limited to 'src/test/codegen/align-struct.rs')
0 files changed, 0 insertions, 0 deletions