Skip to content

Commit c3a09fb

Browse files
authored
Rollup merge of #75954 - ArekPiekarz:unstable_book_ffi_tracking_issues, r=steveklabnik
Unstable Book: add links to tracking issues for FFI features
2 parents e160d2b + aa40c02 commit c3a09fb

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

src/doc/unstable-book/src/language-features/ffi-const.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# `ffi_const`
22

3+
The tracking issue for this feature is: [#58328]
4+
5+
------
6+
37
The `#[ffi_const]` attribute applies clang's `const` attribute to foreign
48
functions declarations.
59

@@ -42,6 +46,7 @@ implemented in this way on all of them. It is therefore also worth verifying
4246
that the semantics of the C toolchain used to compile the binary being linked
4347
against 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

src/doc/unstable-book/src/language-features/ffi-pure.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# `ffi_pure`
22

3+
The tracking issue for this feature is: [#58329]
4+
5+
------
6+
37
The `#[ffi_pure]` attribute applies clang's `pure` attribute to foreign
48
functions declarations.
59

@@ -46,6 +50,7 @@ that the semantics of the C toolchain used to compile the binary being linked
4650
against 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

0 commit comments

Comments
 (0)