include_elf

Macro include_elf 

Source
macro_rules! include_elf {
    ($arg:tt) => { ... };
}
Expand description

Returns the raw ELF bytes by the zkVM program target name.

Note that this only works when using sp1_build::build_program or sp1_build::build_program_with_args in a build script.

By default, the program target name is the same as the program crate name. However, this might not be the case for non-standard project structures. For example, placing the entrypoint source file at src/bin/my_entry.rs would result in the program target being named my_entry, in which case the invocation should be include_elf!("my_entry") instead.