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 mod active_features;
15pub mod invoke_context;
16pub mod loaded_programs;
17pub mod stable_log;
18pub mod sysvar_cache;
19// re-exports for macros
20pub mod __private {
21    pub use rialo_hash::Hash;
22    pub use rialo_s_account::ReadableAccount;
23    pub use rialo_s_instruction::error::InstructionError;
24    pub use rialo_s_rent::Rent;
25    pub use rialo_s_transaction_context::TransactionContext;
26}