diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2025-04-09 12:53:19 +0200 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2025-04-20 16:26:02 +0300 |
| commit | 1e59db30be74038c999643c7184a6416fc002c2f (patch) | |
| tree | d1bf08963d3327dc9489bc484a2fdee694145371 /docs/markdown | |
| parent | 7889cac7d5c976a8f11c47bfcb8978ac27b15a61 (diff) | |
| download | meson-1e59db30be74038c999643c7184a6416fc002c2f.tar.gz | |
move "since 1.8.0" for rust.doctest to the right place
Diffstat (limited to 'docs/markdown')
| -rw-r--r-- | docs/markdown/Rust-module.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/markdown/Rust-module.md b/docs/markdown/Rust-module.md index d2c478c64..35eaf39c3 100644 --- a/docs/markdown/Rust-module.md +++ b/docs/markdown/Rust-module.md @@ -24,8 +24,6 @@ like Meson, rather than Meson work more like rust. rustmod.test(name, target, ...) ``` -*Since 1.8.0* - This function creates a new rust unittest target from an existing rust based target, which may be a library or executable. It does this by copying the sources and arguments passed to the original target and @@ -50,6 +48,8 @@ This function also accepts all of the keyword arguments accepted by the rustmod.doctest(name, target, ...) ``` +*Since 1.8.0* + This function creates a new `test()` target from an existing rust based library target. The test will use `rustdoc` to extract and run the doctests that are included in `target`'s sources. |
