pub fn create_pie_task(pie_path: &Path) -> Result<Task, BootloaderTaskError>Expand description
Creates a TaskSpec for a Cairo PIE task by reading it from a zip file.
§Arguments
pie_path: A reference to aPathwhere the Cairo PIE file is located.
§Returns
Ok(Task): On success, returns aTaskwith the loaded Cairo PIE.Err(BootloaderTaskError): On failure, returns aBootloaderTaskError::Pieif there’s an issue with reading the Cairo PIE file.