Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions soroban-sdk/src/env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,15 +75,6 @@ pub mod internal {
}
}

// Testutils from the environment are pub here, and then pub re-exported out of
// the SDK in the crate::testutils mod.
#[cfg(any(test, feature = "testutils"))]
pub mod testutils {
pub use super::internal::budget::Budget;
pub use super::internal::LedgerInfo;
}

pub use internal::meta;
pub use internal::xdr;
pub use internal::Compare;
pub use internal::ConversionError;
Expand Down
2 changes: 1 addition & 1 deletion soroban-sdk/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ mod alloc;
#[export_name = "_"]
fn __link_sections() {
#[link_section = "contractenvmetav0"]
static __ENV_META_XDR: [u8; env::meta::XDR.len()] = env::meta::XDR;
static __ENV_META_XDR: [u8; env::internal::meta::XDR.len()] = env::internal::meta::XDR;

soroban_sdk_macros::contractmetabuiltin!();
}
Expand Down
3 changes: 0 additions & 3 deletions soroban-sdk/src/storage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,3 @@ mod testutils {
map
}
}
#[cfg(any(test, feature = "testutils"))]
#[cfg_attr(feature = "docs", doc(cfg(feature = "testutils")))]
pub use testutils::*;