Skip to content

Commit

Permalink
Remove obsolete linker options
Browse files Browse the repository at this point in the history
  • Loading branch information
zhassan-aws committed Oct 1, 2024
1 parent 10b8a9d commit 8de24f5
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions kani-driver/src/args/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -189,14 +189,6 @@ pub struct VerificationArgs {
#[arg(long, hide_short_help = true)]
pub only_codegen: bool,

/// Deprecated flag. This is a no-op since we no longer support the legacy linker and
/// it will be removed in a future Kani release.
#[arg(long, hide = true, conflicts_with("mir_linker"))]
pub legacy_linker: bool,
/// Deprecated flag. This is a no-op since we no longer support any other linker.
#[arg(long, hide = true)]
pub mir_linker: bool,

/// Specify the value used for loop unwinding in CBMC
#[arg(long)]
pub default_unwind: Option<u32>,
Expand Down Expand Up @@ -524,14 +516,6 @@ impl ValidateArgs for VerificationArgs {
}
}

if self.mir_linker {
print_obsolete(&self.common_args, "--mir-linker");
}

if self.legacy_linker {
print_obsolete(&self.common_args, "--legacy-linker");
}

// TODO: these conflicting flags reflect what's necessary to pass current tests unmodified.
// We should consider improving the error messages slightly in a later pull request.
if natives_unwind && extra_unwind {
Expand Down

0 comments on commit 8de24f5

Please sign in to comment.