Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CLI][Prover][trivial] set option compile_verify_code to true when running prover using V2 flag #14900

Merged
merged 2 commits into from
Oct 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@
options.compiler_version = Some(self.model_config.compiler_version);
options.known_attributes.clone_from(known_attributes);
options.skip_attribute_checks = skip_attribute_checks;
options.compile_verify_code = true;

Check warning on line 149 in third_party/move/tools/move-package/src/compilation/model_builder.rs

View check run for this annotation

Codecov / codecov/patch

third_party/move/tools/move-package/src/compilation/model_builder.rs#L149

Added line #L149 was not covered by tests
let mut error_writer = StandardStream::stderr(ColorChoice::Auto);
move_compiler_v2::run_move_compiler_for_analysis(&mut error_writer, options)
},
Expand Down
Loading