Skip to content

Commit ea54a09

Browse files
committed
chore: Remove deprecated items
1 parent 8d3e1ab commit ea54a09

File tree

2 files changed

+0
-27
lines changed

2 files changed

+0
-27
lines changed

tasm-lib/src/lib.rs

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,6 @@ pub use triton_vm::twenty_first;
5353

5454
use crate::test_helpers::prepend_program_with_stack_setup;
5555

56-
#[deprecated(since = "0.44.0", note = "use `tasm_lib::prelude::Tip5` instead")]
57-
pub type VmHasher = Tip5;
58-
#[deprecated(since = "0.44.0", note = "use `tasm_lib::prelude::Digest` instead")]
59-
pub type Digest = tip5::Digest;
60-
6156
#[derive(Clone, Debug, Default)]
6257
pub struct InitVmState {
6358
pub stack: Vec<BFieldElement>,
@@ -235,23 +230,6 @@ pub fn execute_test(
235230
terminal_state
236231
}
237232

238-
#[deprecated(
239-
since = "0.3.0",
240-
note = "\
241-
Use `maybe_write_debuggable_vm_state_to_disk` instead. Explanation: \
242-
The program is now included in the VM's state and no longer needed separately.\
243-
"
244-
)]
245-
pub fn maybe_write_debuggable_program_to_disk(program: &Program, vm_state: &VMState) {
246-
let Ok(_) = std::env::var("TASMLIB_TRITON_TUI") else {
247-
return;
248-
};
249-
250-
let mut program_file = std::fs::File::create("program.tasm").unwrap();
251-
write!(program_file, "{program}").unwrap();
252-
maybe_write_debuggable_vm_state_to_disk(vm_state);
253-
}
254-
255233
/// If the environment variable TASMLIB_TRITON_TUI is set, write the initial VM state
256234
/// to file `vm_state.json`.
257235
///

tasm-lib/src/linker.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ use crate::prelude::*;
44
use crate::prove_and_verify;
55
use crate::snippet_bencher::BenchmarkResult;
66

7-
#[deprecated(since = "0.44.0", note = "Use `snippet.link_for_isolated_run` instead")]
8-
pub fn link_for_isolated_run<T: BasicSnippet>(snippet: &T) -> Vec<LabelledInstruction> {
9-
snippet.link_for_isolated_run()
10-
}
11-
127
/// Execute a Triton-VM program and return its output and execution trace length
138
pub fn execute_bench(
149
code: &[LabelledInstruction],

0 commit comments

Comments
 (0)