Skip to content

Commit d0c7443

Browse files
committed
Add tests/ui/ffi section to tests UI README
1 parent dfcf990 commit d0c7443

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/ui/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -556,6 +556,12 @@ Tests for the `--extern` CLI flag.
556556

557557
Tests on feature-gating, and the `#![feature(..)]` mechanism itself.
558558

559+
## `tests/ui/ffi/`: Foreign Function Interface
560+
561+
Tests for the `std::ffi` module.
562+
563+
See [`std::ffi`](https://doc.rust-lang.org/std/ffi/index.html)
564+
559565
## `tests/ui/ffi-attrs/`: `#![feature(ffi_const, ffi_pure)]`
560566

561567
The `#[ffi_const]` and `#[ffi_pure]` attributes applies clang's `const` and `pure` attributes to foreign functions declarations, respectively. These attributes are the core element of the tests in this category.

0 commit comments

Comments
 (0)