File tree Expand file tree Collapse file tree 2 files changed +0
-27
lines changed Expand file tree Collapse file tree 2 files changed +0
-27
lines changed Original file line number Diff line number Diff line change @@ -53,11 +53,6 @@ pub use triton_vm::twenty_first;
53
53
54
54
use crate :: test_helpers:: prepend_program_with_stack_setup;
55
55
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
-
61
56
#[ derive( Clone , Debug , Default ) ]
62
57
pub struct InitVmState {
63
58
pub stack : Vec < BFieldElement > ,
@@ -235,23 +230,6 @@ pub fn execute_test(
235
230
terminal_state
236
231
}
237
232
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
-
255
233
/// If the environment variable TASMLIB_TRITON_TUI is set, write the initial VM state
256
234
/// to file `vm_state.json`.
257
235
///
Original file line number Diff line number Diff line change @@ -4,11 +4,6 @@ use crate::prelude::*;
4
4
use crate :: prove_and_verify;
5
5
use crate :: snippet_bencher:: BenchmarkResult ;
6
6
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
-
12
7
/// Execute a Triton-VM program and return its output and execution trace length
13
8
pub fn execute_bench (
14
9
code : & [ LabelledInstruction ] ,
You can’t perform that action at this time.
0 commit comments