Skip to content

Commit a62e015

Browse files
chore: make SdkVmConfig::to_inner pub (#1906)
`SdkVmConfigInner` is the more natural struct to work with, `SdkVmConfig` is just for serialization convenience.
1 parent b788e45 commit a62e015

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/sdk/src/config/global.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ impl AsMut<SystemConfig> for SdkVmConfig {
156156
}
157157

158158
impl SdkVmConfig {
159-
fn to_inner(&self) -> SdkVmConfigInner {
159+
pub fn to_inner(&self) -> SdkVmConfigInner {
160160
let system = self.system.config.clone();
161161
let rv32i = self.rv32i.map(|_| Rv32I);
162162
let io = self.io.map(|_| Rv32Io);

0 commit comments

Comments
 (0)