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

Update toolchain to 2024-08-05 #3416

Merged
Merged
Show file tree
Hide file tree
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
11 changes: 0 additions & 11 deletions kani-compiler/src/codegen_cprover_gotoc/context/goto_ctx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,17 +139,6 @@ impl<'tcx> GotocCtx<'tcx> {
sym
}

// Generate a Symbol Expression representing a function variable from the MIR
pub fn gen_function_local_variable(
&mut self,
c: u64,
fname: &str,
t: Type,
loc: Location,
) -> Symbol {
self.gen_stack_variable(c, fname, "var", t, loc)
}

/// Given a counter `c` a function name `fname, and a prefix `prefix`, generates a new function local variable
/// It is an error to reuse an existing `c`, `fname` `prefix` tuple.
fn gen_stack_variable(
Expand Down
4 changes: 0 additions & 4 deletions kani-compiler/src/codegen_cprover_gotoc/utils/names.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,6 @@ impl<'tcx> GotocCtx<'tcx> {
(name, base_name)
}

pub fn initializer_fn_name(var_name: &str) -> String {
format!("{var_name}_init")
}

/// The name for a tuple field
pub fn tuple_fld_name(n: usize) -> String {
format!("{n}")
Expand Down
2 changes: 2 additions & 0 deletions kani-compiler/src/kani_middle/transform/body.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ impl MutableBody {
&self.locals
}

#[allow(dead_code)]
pub fn arg_count(&self) -> usize {
self.arg_count
}
Expand Down Expand Up @@ -330,6 +331,7 @@ impl MutableBody {
/// `InsertPosition` is `InsertPosition::Before`, `source` will point to the same instruction as
/// before. If `InsertPosition` is `InsertPosition::After`, `source` will point to the
/// terminator of the newly inserted basic block.
#[allow(dead_code)]
pub fn insert_bb(
&mut self,
mut bb: BasicBlock,
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
# SPDX-License-Identifier: Apache-2.0 OR MIT

[toolchain]
channel = "nightly-2024-08-03"
channel = "nightly-2024-08-05"
components = ["llvm-tools", "rustc-dev", "rust-src", "rustfmt"]
Loading