diff options
| author | Arvind Mukund <armu30@gmail.com> | 2024-03-18 20:31:48 -0700 |
|---|---|---|
| committer | Arvind Mukund <armu30@gmail.com> | 2024-04-23 21:30:59 -0700 |
| commit | ed532cc186a651a3e4b848ffbef8c080018f1732 (patch) | |
| tree | ef0a3f3f0030385554b5d423701ad898021d5555 /src/doc | |
| parent | 437ca26de5d2fe25a37f88956b6225344084fd1d (diff) | |
| download | rust-ed532cc186a651a3e4b848ffbef8c080018f1732.tar.gz rust-ed532cc186a651a3e4b848ffbef8c080018f1732.zip | |
Put the RFC behind a feature gate `result_ffi_guarantees`
Diffstat (limited to 'src/doc')
| -rw-r--r-- | src/doc/unstable-book/src/language-features/result-ffi-guarantees.md | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/doc/unstable-book/src/language-features/result-ffi-guarantees.md b/src/doc/unstable-book/src/language-features/result-ffi-guarantees.md new file mode 100644 index 00000000000..dc9c196524e --- /dev/null +++ b/src/doc/unstable-book/src/language-features/result-ffi-guarantees.md @@ -0,0 +1,14 @@ +# `result_ffi_guarantees` + +The tracking issue for this feature is: [#110503] + +[#110503]: https://github.com/rust-lang/rust/issues/110503 + +------------------------ + +This feature adds the possibility of using `Result<T, E>` in FFI if T's niche +value can be used to describe E or vise-versa. + +See [RFC 3391] for more information. + +[RFC 3391]: https://github.com/rust-lang/rfcs/blob/master/text/3391-result_ffi_guarantees.md |
