pub struct CompilerOptions {
pub other: Vec<String>,
}Expand description
Additional arguments and an optional input file for a Compiler.
Default creates an empty argument list, selecting the program’s stdin-input
form. The pattern defines no standard model or format options. Any such
options supplied through other are extensions requiring
support from the selected program; this type does not validate that support.
§Examples
Select a named input file as one literal argument, retaining stdout output:
use asimov_patterns::CompilerOptions;
let options = CompilerOptions::builder()
.other("--")
.other("request with spaces.txt")
.build();Fields§
§other: Vec<String>Literal command-line arguments, including an optional input-file operand.
The process wrapper forwards these in order and generates no other
arguments. Put extension options before the input file. Each string is
one argument, without shell expansion; see crate::programs. With a
named file, configure the wrapper’s stream input as ignored.
Implementations§
Source§impl CompilerOptions
impl CompilerOptions
Sourcepub fn builder() -> CompilerOptionsBuilder
pub fn builder() -> CompilerOptionsBuilder
Create an instance of CompilerOptions using the builder syntax