Skip to content

Commit

Permalink
Untested configuration options change (commit to get to server to test)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander-Aghili committed Jul 31, 2024
1 parent 6a951b4 commit 01bd260
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions kani-driver/src/args/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -643,6 +643,21 @@ impl ValidateArgs for VerificationArgs {
));
}

if self.output_into_files
&& !self.common_args.unstable_features.contains(UnstableFeature::UnstableOptions)
{

if self.common_args.enable_unstable {
print_deprecated(&self.common_args, "`--enable-unstable`", "-Z unstable-options");
} else {
return Err(Error::raw(
ErrorKind::MissingRequiredArgument,
"The `--output-into-files` argument is unstable and requires `-Z unstable-options` to enable \
unstable options support.",
));
}
}

Ok(())
}
}
Expand Down

0 comments on commit 01bd260

Please sign in to comment.