pub struct RuntimeScriptInput {Show 15 fields
pub runtime: String,
pub script: String,
pub env: HashMap<String, String>,
pub entry_point: String,
pub cargo_test: String,
pub args: Vec<String>,
pub clm_root: String,
pub source_file: Option<String>,
pub source_name: Option<String>,
pub theorem_name: Option<String>,
pub profile_id: Option<String>,
pub config_file: Option<String>,
pub staged_files: BTreeMap<String, String>,
pub strict: bool,
pub isolated_empty_path: bool,
}Expand description
Execute a script in the named runtime and return (exit_code, stdout, stderr).
This is a standalone runtime dispatch function that handles shell, python, node, rust, and formal runtimes with environment variables, entry points, and cargo test support.
Fields§
§runtime: String§script: String§env: HashMap<String, String>§entry_point: String§cargo_test: String§args: Vec<String>§clm_root: String§source_file: Option<String>§source_name: Option<String>§theorem_name: Option<String>§profile_id: Option<String>§config_file: Option<String>§staged_files: BTreeMap<String, String>§strict: bool§isolated_empty_path: boolTrait Implementations§
Source§impl Clone for RuntimeScriptInput
impl Clone for RuntimeScriptInput
Source§impl Debug for RuntimeScriptInput
impl Debug for RuntimeScriptInput
Source§impl Default for RuntimeScriptInput
impl Default for RuntimeScriptInput
Source§impl<'de> Deserialize<'de> for RuntimeScriptInput
impl<'de> Deserialize<'de> for RuntimeScriptInput
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for RuntimeScriptInput
impl Freeze for RuntimeScriptInput
impl RefUnwindSafe for RuntimeScriptInput
impl Send for RuntimeScriptInput
impl Sync for RuntimeScriptInput
impl Unpin for RuntimeScriptInput
impl UnsafeUnpin for RuntimeScriptInput
impl UnwindSafe for RuntimeScriptInput
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more