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
+7-12Lines changed: 7 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -104,7 +104,6 @@ rs={
104
104
build-type: <Debug, Release, RelWithDebInfo, or MinSizeRel>,
105
105
cargo-features: <array of strings>,
106
106
cargo-dependencies: <list of key-value pairs>,
107
-
export-dependency-graph: <true or false>,
108
107
rust-include: <array of strings>,
109
108
single-file-project: <true or false>,
110
109
single-threaded: <true or false>,
@@ -380,10 +379,10 @@ This option takes a path as string argument to a folder containing an alternativ
380
379
<ShowIfcpyts>
381
380
This target does not support the `export-dependency-graph` target option.
382
381
</ShowIf>
383
-
<ShowIfcpprs>
382
+
<ShowIfcpp>
384
383
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
384
<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.
385
+
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
386
</ShowOnly>
388
387
</ShowIf>
389
388
</ShowIfs>
@@ -477,10 +476,10 @@ The `logging` option is one of `ERROR`, `WARN`, `INFO`, `LOG` or `DEBUG`. It spe
477
476
## no-compile
478
477
479
478
<ShowIfs>
480
-
<ShowIftsrs>
479
+
<ShowIfts>
481
480
This target does not support the `no-compile` target option.
482
481
</ShowIf>
483
-
<ShowIfccpppy>
482
+
<ShowIfccpppyrs>
484
483
If true, then do not invoke a target language compiler nor cmake. Just generate code.
485
484
</ShowIf>
486
485
</ShowIfs>
@@ -534,19 +533,16 @@ This argument takes a string (with quotation marks) containing any tag, branch n
534
533
This target does not support the `rust-include` target option.
535
534
</ShowIf>
536
535
<ShowIfrs>
537
-
This specifies a set of Rust modules in the generated project. See [Linking support files](#linking-support-files).
536
+
This specifies a set of Rust modules in the generated project.
538
537
</ShowIf>
539
538
</ShowIfs>
540
539
541
540
## scheduler
542
541
543
542
<ShowIfs>
544
-
<ShowIfccpppyts >
543
+
<ShowIfccpppyrsts >
545
544
This target does not support the `scheduler` target option.
546
545
</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
546
</ShowIfs>
551
547
552
548
## single-file-project
@@ -556,7 +552,7 @@ This specifies the scheduler to use. See[Target Language Details](<../reference/
556
552
This target does not support the `single-file-project` target option.
557
553
</ShowIf>
558
554
<ShowIfrs>
559
-
If true, enables [single-file project layout](#single-file-layout).
555
+
If true, only main.rs is generated instead of multiple rust source files.
560
556
</ShowIf>
561
557
</ShowIfs>
562
558
@@ -732,7 +728,6 @@ The generated executable may feature a command-line interface (CLI), if it uses
732
728
-`--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
729
-`--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
730
-`--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
731
- parameters of the main reactor are translated to CLI parameters.
737
732
- Each LF parameter named `param` corresponds to a CLI parameter named `--main-param`. Underscores in the LF parameter name are replaced by hyphens.
738
733
- The type of each parameters must implement the trait [`FromStr`](https://doc.rust-lang.org/std/str/trait.FromStr.html).
Copy file name to clipboardExpand all lines: versioned_docs/version-0.9.0/reference/target-declaration.mdx
+7-12Lines changed: 7 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -104,7 +104,6 @@ rs={
104
104
build-type: <Debug, Release, RelWithDebInfo, or MinSizeRel>,
105
105
cargo-features: <array of strings>,
106
106
cargo-dependencies: <list of key-value pairs>,
107
-
export-dependency-graph: <true or false>,
108
107
rust-include: <array of strings>,
109
108
single-file-project: <true or false>,
110
109
single-threaded: <true or false>,
@@ -380,10 +379,10 @@ This option takes a path as string argument to a folder containing an alternativ
380
379
<ShowIfcpyts>
381
380
This target does not support the `export-dependency-graph` target option.
382
381
</ShowIf>
383
-
<ShowIfcpprs>
382
+
<ShowIfcpp>
384
383
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
384
<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.
385
+
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
386
</ShowOnly>
388
387
</ShowIf>
389
388
</ShowIfs>
@@ -477,10 +476,10 @@ The `logging` option is one of `ERROR`, `WARN`, `INFO`, `LOG` or `DEBUG`. It spe
477
476
## no-compile
478
477
479
478
<ShowIfs>
480
-
<ShowIftsrs>
479
+
<ShowIfts>
481
480
This target does not support the `no-compile` target option.
482
481
</ShowIf>
483
-
<ShowIfccpppy>
482
+
<ShowIfccpppyrs>
484
483
If true, then do not invoke a target language compiler nor cmake. Just generate code.
485
484
</ShowIf>
486
485
</ShowIfs>
@@ -534,19 +533,16 @@ This argument takes a string (with quotation marks) containing any tag, branch n
534
533
This target does not support the `rust-include` target option.
535
534
</ShowIf>
536
535
<ShowIfrs>
537
-
This specifies a set of Rust modules in the generated project. See [Linking support files](#linking-support-files).
536
+
This specifies a set of Rust modules in the generated project.
538
537
</ShowIf>
539
538
</ShowIfs>
540
539
541
540
## scheduler
542
541
543
542
<ShowIfs>
544
-
<ShowIfccpppyts >
543
+
<ShowIfccpppyrsts >
545
544
This target does not support the `scheduler` target option.
546
545
</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
546
</ShowIfs>
551
547
552
548
## single-file-project
@@ -556,7 +552,7 @@ This specifies the scheduler to use. See[Target Language Details](<../reference/
556
552
This target does not support the `single-file-project` target option.
557
553
</ShowIf>
558
554
<ShowIfrs>
559
-
If true, enables [single-file project layout](#single-file-layout).
555
+
If true, only main.rs is generated instead of multiple rust source files.
560
556
</ShowIf>
561
557
</ShowIfs>
562
558
@@ -732,7 +728,6 @@ The generated executable may feature a command-line interface (CLI), if it uses
732
728
-`--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
729
-`--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
730
-`--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
731
- parameters of the main reactor are translated to CLI parameters.
737
732
- Each LF parameter named `param` corresponds to a CLI parameter named `--main-param`. Underscores in the LF parameter name are replaced by hyphens.
738
733
- The type of each parameters must implement the trait [`FromStr`](https://doc.rust-lang.org/std/str/trait.FromStr.html).
0 commit comments