Files
revive/crates/llvm-context/src/polkavm/context/function/runtime/mod.rs
T
2024-10-10 13:33:00 +02:00

19 lines
497 B
Rust

//! The front-end runtime functions.
pub mod deploy_code;
pub mod entry;
pub mod immutable_data_load;
pub mod runtime_code;
/// The main entry function name.
pub const FUNCTION_ENTRY: &str = "__entry";
/// The deploy code function name.
pub const FUNCTION_DEPLOY_CODE: &str = "__deploy";
/// The runtime code function name.
pub const FUNCTION_RUNTIME_CODE: &str = "__runtime";
/// The immutable data load function name.
pub const FUNCTION_LOAD_IMMUTABLE_DATA: &str = "__immutable_data_load";