From eacfc7ca5b7479fe1734590aff51828d4e86dd87 Mon Sep 17 00:00:00 2001 From: asolana <110843012+ksolana@users.noreply.github.com> Date: Thu, 2 May 2024 23:02:57 -0700 Subject: [PATCH] Use target path to represent sources package paths (#29) Bug: #28 --- .../move/solana/move-mv-llvm-compiler/src/main.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/external-crates/move/solana/move-mv-llvm-compiler/src/main.rs b/external-crates/move/solana/move-mv-llvm-compiler/src/main.rs index 60a34e827bdb06..6ff17d12e895fd 100644 --- a/external-crates/move/solana/move-mv-llvm-compiler/src/main.rs +++ b/external-crates/move/solana/move-mv-llvm-compiler/src/main.rs @@ -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}; @@ -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(), }];