From 6dd85da51c21230967067945d7d702e12a39879e Mon Sep 17 00:00:00 2001 From: Chanhee Lee Date: Wed, 20 Nov 2024 13:17:11 -0700 Subject: [PATCH] Update the Target Description web page - Update the Rust target document parts. Signed-off-by: Chanhee Lee --- docs/reference/target-declaration.mdx | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/docs/reference/target-declaration.mdx b/docs/reference/target-declaration.mdx index 2e97295b8..73500ddb3 100644 --- a/docs/reference/target-declaration.mdx +++ b/docs/reference/target-declaration.mdx @@ -380,10 +380,10 @@ This option takes a path as string argument to a folder containing an alternativ This target does not support the `export-dependency-graph` target option. - + This parameter takes arguments `true` or `false` to specify whether the compiled binary will export its internal dependency graph as a dot graph when executed. This is a debugging utility. -If a [CLI](#command-line-arguments) is generated, the target property is ignored, and the user should instead use the `--export-graph` flag of the generated program. +This feature works when a [CLI](#command-line-arguments) option is enabled and the user use the `--export-graph` flag of the generated program. @@ -477,10 +477,10 @@ The `logging` option is one of `ERROR`, `WARN`, `INFO`, `LOG` or `DEBUG`. It spe ## no-compile - + This target does not support the `no-compile` target option. - + If true, then do not invoke a target language compiler nor cmake. Just generate code. @@ -541,12 +541,12 @@ This specifies a set of Rust modules in the generated project. See [Linking supp ## scheduler - + This target does not support the `scheduler` target option. - +{ This specifies the scheduler to use. See[Target Language Details](<../reference/target-language-details.mdx#scheduler-target-property>). - +} ## single-file-project @@ -556,7 +556,8 @@ This specifies the scheduler to use. See[Target Language Details](<../reference/ This target does not support the `single-file-project` target option. -If true, enables [single-file project layout](#single-file-layout). +{If true, enables [single-file project layout](#single-file-layout).} +If true, only main.rs is generated instead of multiple rust source files. @@ -732,7 +733,7 @@ The generated executable may feature a command-line interface (CLI), if it uses - `--timeout