Skip to main content

rialo_s_program_runtime/
lib.rs

1// Copyright (c) Subzero Labs, Inc.
2// SPDX-License-Identifier: Apache-2.0
3// This file is either (a) original to Subzero Labs, Inc. or (b) derived from the Anza codebase and modified by Subzero Labs, Inc.
4
5#![allow(unsafe_code)]
6#![cfg_attr(feature = "frozen-abi", feature(min_specialization))]
7#![deny(clippy::arithmetic_side_effects)]
8#![deny(clippy::indexing_slicing)]
9
10#[cfg(feature = "metrics")]
11#[macro_use]
12extern crate rialo_s_metrics;
13
14pub use solana_sbpf;
15pub mod invoke_context;
16pub mod loaded_programs;
17pub mod mem_pool;
18pub mod stable_log;
19pub mod sysvar_cache;
20// re-exports for macros
21pub mod __private {
22    pub use rialo_hash::Hash;
23    pub use rialo_s_account::ReadableAccount;
24    pub use rialo_s_instruction::error::InstructionError;
25    pub use rialo_s_rent::Rent;
26    pub use rialo_s_transaction_context::TransactionContext;
27}