Skip to content

Commit

Permalink
use clone_from
Browse files Browse the repository at this point in the history
  • Loading branch information
nkysg committed Jan 27, 2025
1 parent b8c1478 commit 872f4b3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions vm/stdlib/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,9 @@ fn build_error_code_map(output_path: &str, sources: &[String], dep_path: &str) {
options.verbosity_level = LevelFilter::Warn;
options.run_errmapgen = true;
options.errmapgen.output_file = output_path.to_string();
options.known_attributes =
starcoin_framework::extended_checks::get_all_attribute_names().clone();
options
.known_attributes
.clone_from(starcoin_framework::extended_checks::get_all_attribute_names());
//options.setup_logging_for_test();
move_prover::run_move_prover_errors_to_stderr(options).unwrap();
}
Expand Down

0 comments on commit 872f4b3

Please sign in to comment.