Skip to content

Commit

Permalink
fix the build after VM v0.10.3 update
Browse files Browse the repository at this point in the history
  • Loading branch information
greenhat committed Aug 14, 2024
1 parent fb80d83 commit b9de0b5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions sdk/base-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ use std::{env, path::Path, sync::Arc};

use miden_assembly::{
diagnostics::{IntoDiagnostic, Result},
library::Library as CompiledLibrary,
LibraryNamespace,
Assembler, Library as CompiledLibrary, LibraryNamespace,
};

/// Read and parse the contents from `./masm/*` and compile it to MASL.
Expand All @@ -19,7 +18,8 @@ fn main() -> Result<()> {
let namespace = "miden".parse::<LibraryNamespace>().expect("invalid base namespace");

let tx_asm_dir = Path::new(manifest_dir).join("masm").join("tx");
let txlib = CompiledLibrary::from_dir(tx_asm_dir, namespace, source_manager)?;
let asm = Assembler::new(source_manager);
let txlib = CompiledLibrary::from_dir(tx_asm_dir, namespace, asm)?;
let tx_masl_path = build_dir
.join("assets")
.join("tx")
Expand Down
2 changes: 1 addition & 1 deletion sdk/base-sys/src/masl/tx.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use miden_assembly::{library::Library as CompiledLibrary, utils::Deserializable};
use miden_assembly::{utils::Deserializable, Library as CompiledLibrary};

/// Stubs for the Miden rollup tx kernel
pub struct MidenTxKernelLibrary(CompiledLibrary);
Expand Down

0 comments on commit b9de0b5

Please sign in to comment.