Skip to content

Commit

Permalink
fix compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
nkysg committed Jan 27, 2025
1 parent 41e8f25 commit e274700
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions vm/move-package-manager/src/compatibility_check_cmd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,12 @@ pub fn handle_compatibility_check(
Some(_) => move_args.package_path.clone(),
None => Some(std::env::current_dir()?),
};
let pkg = move_args
.build_config
let mut build_config = move_args.build_config.clone();
build_config
.compiler_config
.known_attributes
.clone_from(starcoin_framework::extended_checks::get_all_attribute_names());
let pkg = build_config
.clone()
.compile_package(package_path.as_ref().unwrap(), &mut std::io::stdout())?;

Expand Down

0 comments on commit e274700

Please sign in to comment.