pub fn create_cairo0_program_task(
program_path: &Path,
program_input: Option<String>,
) -> Result<Task, BootloaderTaskError>Expand description
Creates a TaskSpec for a cairo0 program task by loading a program from a specified file path.
§Arguments
program_path: A reference to aPathwhere the program file is located.
§Returns
Ok(Task): On success, returns aTaskwith the loaded program.Err(BootloaderTaskError): On failure, returns aBootloaderTaskError::Programif there’s an issue with loading the program file.