diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2021-01-30 13:20:59 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2021-01-30 16:19:59 +0000 |
commit | f72ee8e742a171db74ed32b54b85953b8dfe1d77 (patch) | |
tree | 80e015f57b8bfc3c0a0fccb6b0d4ef4d602c0a0d /docs/markdown/Rust-module.md | |
parent | 4f8cecca9733588b083dba8488143fa1ffb0e495 (diff) | |
download | meson-f72ee8e742a171db74ed32b54b85953b8dfe1d77.zip meson-f72ee8e742a171db74ed32b54b85953b8dfe1d77.tar.gz meson-f72ee8e742a171db74ed32b54b85953b8dfe1d77.tar.bz2 |
Rewrap long text lines in docs. [skip ci]
Diffstat (limited to 'docs/markdown/Rust-module.md')
-rw-r--r-- | docs/markdown/Rust-module.md | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/docs/markdown/Rust-module.md b/docs/markdown/Rust-module.md index 0fdba94..dbe24ff 100644 --- a/docs/markdown/Rust-module.md +++ b/docs/markdown/Rust-module.md @@ -12,20 +12,20 @@ authors: **Note** Unstable modules make no backwards compatible API guarantees. -The rust module provides helper to integrate rust code into meson. The goal -is to make using rust in meson more pleasant, while still remaining mesonic, -this means that it attempts to make rust work more like meson, rather than -meson work more like rust. +The rust module provides helper to integrate rust code into meson. The +goal is to make using rust in meson more pleasant, while still +remaining mesonic, this means that it attempts to make rust work more +like meson, rather than meson work more like rust. ## Functions ### test(name: string, target: library | executable, dependencies: []Dependency) -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 adding the `--test` -argument to the compilation, then creates a new test target which calls that -executable, using the rust test protocol. +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 +adding the `--test` argument to the compilation, then creates a new +test target which calls that executable, using the rust test protocol. This accepts all of the keyword arguments as the [`test`](Reference-manual.md#test) function except `protocol`, it will set |