Skip to content

Commit

Permalink
[aptos-cli]: update move-tool visibility (#14735)
Browse files Browse the repository at this point in the history
Ensure that the following functions are publicly visible so they can be
used from the `move-mutation-test` tool.
- `aptos::move_tool::aptos_debug_natives::aptos_debug_natives()`
- `aptos::move_tool::experiments_from_opt_level()`
  • Loading branch information
Rqnsom authored Sep 25, 2024
1 parent 180bdf5 commit 1d0cf10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/aptos/src/move_tool/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ pub use stored_package::*;
use tokio::task;
use url::Url;

mod aptos_debug_natives;
pub mod aptos_debug_natives;
mod bytecode;
pub mod coverage;
mod fmt;
Expand Down Expand Up @@ -848,7 +848,7 @@ impl FromStr for IncludedArtifacts {
}
}

pub(crate) fn experiments_from_opt_level(optlevel: &Option<OptimizationLevel>) -> Vec<String> {
pub fn experiments_from_opt_level(optlevel: &Option<OptimizationLevel>) -> Vec<String> {
match optlevel {
None | Some(OptimizationLevel::Default) => {
vec![format!("{}=on", Experiment::OPTIMIZE.to_string())]
Expand Down

0 comments on commit 1d0cf10

Please sign in to comment.