File tree 2 files changed +10
-0
lines changed
src/doc/unstable-book/src/language-features
2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 1
1
# ` ffi_const `
2
2
3
+ The tracking issue for this feature is: [ #58328 ]
4
+
5
+ ------
6
+
3
7
The ` #[ffi_const] ` attribute applies clang's ` const ` attribute to foreign
4
8
functions declarations.
5
9
@@ -42,6 +46,7 @@ implemented in this way on all of them. It is therefore also worth verifying
42
46
that the semantics of the C toolchain used to compile the binary being linked
43
47
against are compatible with those of the ` #[ffi_const] ` .
44
48
49
+ [ #58328 ] : https://github.com/rust-lang/rust/issues/58328
45
50
[ ARM C/C++ compiler ] : http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0491c/Cacgigch.html
46
51
[ GCC ] : https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-const-function-attribute
47
52
[ 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 1
1
# ` ffi_pure `
2
2
3
+ The tracking issue for this feature is: [ #58329 ]
4
+
5
+ ------
6
+
3
7
The ` #[ffi_pure] ` attribute applies clang's ` pure ` attribute to foreign
4
8
functions declarations.
5
9
@@ -46,6 +50,7 @@ that the semantics of the C toolchain used to compile the binary being linked
46
50
against are compatible with those of the ` #[ffi_pure] ` .
47
51
48
52
53
+ [ #58329 ] : https://github.com/rust-lang/rust/issues/58329
49
54
[ ARM C/C++ compiler ] : http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0491c/Cacigdac.html
50
55
[ GCC ] : https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-pure-function-attribute
51
56
[ 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