Home
last modified time | relevance | path

Searched refs:NamedTempFile (Results 1 – 7 of 7) sorted by relevance

/wasmtime-44.0.1/src/commands/
H A Dcompile.rs110 use tempfile::NamedTempFile;
115 let (mut input, input_path) = NamedTempFile::new()?.into_parts(); in test_successful_compile()
121 let output_path = NamedTempFile::new()?.into_temp_path(); in test_successful_compile()
147 let (mut input, input_path) = NamedTempFile::new()?.into_parts(); in test_x64_flags_compile()
151 let output_path = NamedTempFile::new()?.into_temp_path(); in test_x64_flags_compile()
184 let (mut input, input_path) = NamedTempFile::new()?.into_parts(); in test_aarch64_flags_compile()
188 let output_path = NamedTempFile::new()?.into_temp_path(); in test_aarch64_flags_compile()
213 let (mut input, input_path) = NamedTempFile::new()?.into_parts(); in test_unsupported_flags_compile()
217 let output_path = NamedTempFile::new()?.into_temp_path(); in test_unsupported_flags_compile()
240 let (mut input, input_path) = NamedTempFile::new()?.into_parts(); in test_x64_presets_compile()
[all …]
/wasmtime-44.0.1/tests/all/native_debug/
H A Dsimulate.rs4 use tempfile::NamedTempFile;
11 let obj_file = NamedTempFile::new()?; in check_wat()
H A Dtranslate.rs5 use tempfile::NamedTempFile;
12 let obj_file = NamedTempFile::new()?; in check_wasm()
H A Dgdb.rs5 use tempfile::NamedTempFile;
13 let mut script_file = NamedTempFile::new()?; in gdb_with_script()
H A Dlldb.rs5 use tempfile::NamedTempFile;
27 let mut script_file = NamedTempFile::new()?; in lldb_with_script()
/wasmtime-44.0.1/tests/all/
H A Dcli_tests.rs7 use tempfile::{NamedTempFile, TempDir};
51 fn build_wasm(wat_path: impl AsRef<Path>) -> Result<NamedTempFile> { in build_wasm() argument
52 let mut wasm_file = NamedTempFile::new()?; in build_wasm()
94 let coredump_file = NamedTempFile::new()?; in run_coredump_smoketest()
2983 let (mut cfg, cfg_path) = tempfile::NamedTempFile::new()?.into_parts(); in config_cli_flag()
3034 let (mut cfg, cfg_path) = tempfile::NamedTempFile::new()?.into_parts(); in config_cli_flag()
3057 let (mut cfg, cfg_path) = tempfile::NamedTempFile::new()?.into_parts(); in config_cli_flag()
3176 let temp = tempfile::NamedTempFile::new()?; in compilation_logs()
/wasmtime-44.0.1/benches/
H A Dinstantiation.rs155 let tmpfile = tempfile::NamedTempFile::new().unwrap(); in bench_deserialize_module()