Skip to content

Commit

Permalink
[move-stdlib] Avoid dependency on move-compiler (MystenLabs#11188)
Browse files Browse the repository at this point in the history
## Description

`move-stdlib` contains native functions, so is part of the versioned
execution layer. `move-compiler` is part of the tooling layer, not
execution, and ideally we want to keep it out, to avoid having to
version it.

## Test Plan

```
sui/external-crates$ sh ./tests.sh
```
  • Loading branch information
amnn authored Apr 21, 2023
1 parent a4a2722 commit 193f0b7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion external-crates/move/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion external-crates/move/move-stdlib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ move-vm-types = { path = "../move-vm/types" }
move-binary-format = { path = "../move-binary-format" }
move-core-types = { path = "../move-core/types" }
move-vm-runtime = { path = "../move-vm/runtime" }
move-compiler = { path = "../move-compiler" }
log = "0.4.14"
walkdir = "2.3.1"
smallvec = "1.6.1"
Expand Down
6 changes: 4 additions & 2 deletions external-crates/move/move-stdlib/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@
// SPDX-License-Identifier: Apache-2.0

use log::LevelFilter;
use move_command_line_common::files::{extension_equals, find_filenames, MOVE_EXTENSION};
use move_compiler::shared::NumericalAddress;
use move_command_line_common::{
address::NumericalAddress,
files::{extension_equals, find_filenames, MOVE_EXTENSION},
};
use move_core_types::account_address::AccountAddress;
use std::{collections::BTreeMap, path::PathBuf};

Expand Down

0 comments on commit 193f0b7

Please sign in to comment.