diff options
| author | Matthias Schiffer <mschiffer@universe-factory.net> | 2020-04-14 00:19:46 +0200 |
|---|---|---|
| committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2020-05-20 01:16:11 +0200 |
| commit | abc236414b4bd609513899e651c41f314f71bac4 (patch) | |
| tree | 4e3b3908a2ab5ec936da026ef507b2366af9229b /src/test/codegen/align-struct.rs | |
| parent | 3a7dfda40a3e798bf086bd58cc7e5e09deb808b5 (diff) | |
| download | rust-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
