This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
src/doc/unstable-book/src/language-features Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 11# ` ffi_const `
22
3+ The tracking issue for this feature is: [ #58328 ]
4+
5+ ------
6+
37The ` #[ffi_const] ` attribute applies clang's ` const ` attribute to foreign
48functions declarations.
59
@@ -42,6 +46,7 @@ implemented in this way on all of them. It is therefore also worth verifying
4246that the semantics of the C toolchain used to compile the binary being linked
4347against are compatible with those of the ` #[ffi_const] ` .
4448
49+ [ #58328 ] : https://github.com/rust-lang/rust/issues/58328
4550[ ARM C/C++ compiler ] : http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0491c/Cacgigch.html
4651[ GCC ] : https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-const-function-attribute
4752[ IBM ILE C/C++ ] : https://www.ibm.com/support/knowledgecenter/fr/ssw_ibm_i_71/rzarg/fn_attrib_const.htm
Original file line number Diff line number Diff line change 11# ` ffi_pure `
22
3+ The tracking issue for this feature is: [ #58329 ]
4+
5+ ------
6+
37The ` #[ffi_pure] ` attribute applies clang's ` pure ` attribute to foreign
48functions declarations.
59
@@ -46,6 +50,7 @@ that the semantics of the C toolchain used to compile the binary being linked
4650against are compatible with those of the ` #[ffi_pure] ` .
4751
4852
53+ [ #58329 ] : https://github.com/rust-lang/rust/issues/58329
4954[ ARM C/C++ compiler ] : http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0491c/Cacigdac.html
5055[ GCC ] : https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-pure-function-attribute
5156[ IBM ILE C/C++ ] : https://www.ibm.com/support/knowledgecenter/fr/ssw_ibm_i_71/rzarg/fn_attrib_pure.htm
You can’t perform that action at this time.
0 commit comments