You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/reference/target-declaration.mdx
+6-10Lines changed: 6 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -380,10 +380,10 @@ This option takes a path as string argument to a folder containing an alternativ
380
380
<ShowIfcpyts>
381
381
This target does not support the `export-dependency-graph` target option.
382
382
</ShowIf>
383
-
<ShowIfcpprs>
383
+
<ShowIfcpp>
384
384
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.
385
385
<ShowOnlyrs>
386
-
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.
386
+
This feature works when a [CLI](#command-line-arguments)option is enabled and the user use the `--export-graph` flag of the generated program.
387
387
</ShowOnly>
388
388
</ShowIf>
389
389
</ShowIfs>
@@ -477,10 +477,10 @@ The `logging` option is one of `ERROR`, `WARN`, `INFO`, `LOG` or `DEBUG`. It spe
477
477
## no-compile
478
478
479
479
<ShowIfs>
480
-
<ShowIftsrs>
480
+
<ShowIfts>
481
481
This target does not support the `no-compile` target option.
482
482
</ShowIf>
483
-
<ShowIfccpppy>
483
+
<ShowIfccpppyrs>
484
484
If true, then do not invoke a target language compiler nor cmake. Just generate code.
485
485
</ShowIf>
486
486
</ShowIfs>
@@ -541,12 +541,9 @@ This specifies a set of Rust modules in the generated project. See [Linking supp
541
541
## scheduler
542
542
543
543
<ShowIfs>
544
-
<ShowIfccpppyts >
544
+
<ShowIfccpppyrsts >
545
545
This target does not support the `scheduler` target option.
546
546
</ShowIf>
547
-
<ShowIfrs>
548
-
This specifies the scheduler to use. See[Target Language Details](<../reference/target-language-details.mdx#scheduler-target-property>).
549
-
</ShowIf>
550
547
</ShowIfs>
551
548
552
549
## single-file-project
@@ -556,7 +553,7 @@ This specifies the scheduler to use. See[Target Language Details](<../reference/
556
553
This target does not support the `single-file-project` target option.
557
554
</ShowIf>
558
555
<ShowIfrs>
559
-
If true, enables [single-file project layout](#single-file-layout).
556
+
If true, only main.rs is generated instead of multiple rust source files.
560
557
</ShowIf>
561
558
</ShowIfs>
562
559
@@ -732,7 +729,6 @@ The generated executable may feature a command-line interface (CLI), if it uses
732
729
-`--timeout <time value>`: override the default timeout mentioned as a target property. The syntax for times is just like the LF one (e.g. `1msec`, `"2 seconds"`).
733
730
-`--workers <number>`: override the default worker count mentioned as a target property. This option is **ignored** unless the runtime crate has been built with the feature `parallel-runtime`.
734
731
-`--export-graph`: export the dependency graph (corresponds to `export-dependency-graph` target property). This is a flag, i.e., absent means false, present means true. This means the value of the target property is ignored and not used as default.
735
-
-`--log-level`: corresponds to the `logging` target property, but note that the levels have different meanings, and the target property is ignored. See [Logging levels](#logging-levels).
736
732
- parameters of the main reactor are translated to CLI parameters.
737
733
- Each LF parameter named `param` corresponds to a CLI parameter named `--main-param`. Underscores in the LF parameter name are replaced by hyphens.
738
734
- The type of each parameters must implement the trait [`FromStr`](https://doc.rust-lang.org/std/str/trait.FromStr.html).
0 commit comments