Skip to content

Commit

Permalink
Use target path to represent sources package paths
Browse files Browse the repository at this point in the history
  • Loading branch information
ksolana committed May 3, 2024
1 parent 855fd31 commit 933b8e5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions external-crates/move/solana/move-mv-llvm-compiler/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ use move_model::{
model::GlobalEnv, options::ModelBuilderOptions,
run_model_builder_with_options_and_compilation_flags,
};
// todo sui
//use move_symbol_pool::Symbol as SymbolPool;

use package::build_dependency;
use std::{fs, io::Write, path::Path};

Expand Down Expand Up @@ -84,8 +83,7 @@ fn main() -> anyhow::Result<()> {
}

let sources = vec![PackagePaths {
name: None, // todo sui
//name: Some(SymbolPool::from(target_path_string.clone())), // TODO: is it better than `None`?
name: None,
paths: vec![target_path_string],
named_address_map: named_address_map.clone(),
}];
Expand Down

0 comments on commit 933b8e5

Please sign in to comment.