Skip to content

Commit

Permalink
Address PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
celinval committed Jan 3, 2023
1 parent 880f03b commit 572d330
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions kani-compiler/src/codegen_cprover_gotoc/archive.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
//! Creation of ar archives like for the lib and staticlib crate type
//! We now call the ArchiveBuilder directly, so we don't bother trying to fit into the rustc's
//! `ArchiveBuilder`.
//! Note that once we update to a version newer than 2022-12-04 we should be able to remove the
//! logic here and use the compiler ArArchiveBuilder introduced here:
//! <https://github.com/rust-lang/rust/pull/97485>
use rustc_session::Session;
use std::fs::File;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,6 @@ impl CodegenBackend for GotocCodegenBackend {
let requested_crate_types = sess.crate_types();
if !requested_crate_types.contains(&CrateType::Rlib) {
// Quit successfully if we don't need an `rlib`:
println!("No need for rlib");
return Ok(());
}

Expand Down

0 comments on commit 572d330

Please sign in to comment.