| /wasmtime-44.0.1/tests/all/native_debug/ |
| H A D | gdb.rs | 10 let mut cmd = Command::new(&lldb_path); in gdb_with_script() localVariable 12 cmd.arg("--batch"); in gdb_with_script() 16 cmd.args(&["-x", &script_path]); in gdb_with_script() 18 cmd.arg("--args"); in gdb_with_script() 24 cmd.arg(me); in gdb_with_script() 26 cmd.args(args); in gdb_with_script() 28 let output = cmd.output().expect("success"); in gdb_with_script() 32 cmd, in gdb_with_script()
|
| H A D | lldb.rs | 21 let mut cmd = Command::new(&lldb_path); in lldb_with_script() localVariable 23 cmd.arg("--batch"); in lldb_with_script() 25 cmd.args(&["-o", "settings set plugin.jit-loader.gdb.enable on"]); in lldb_with_script() 30 cmd.args(&["-s", &script_path]); in lldb_with_script() 40 cmd.arg(me); in lldb_with_script() 42 cmd.arg("--"); in lldb_with_script() 43 cmd.args(args); in lldb_with_script() 46 let output = cmd.output().expect("success"); in lldb_with_script()
|
| /wasmtime-44.0.1/tests/all/ |
| H A D | cli_tests.rs | 14 cmd.args(args); in run_wasmtime_for_output() 29 Ok(cmd) in get_wasmtime_command() 977 Ok(cmd) in preview2_stdin() 993 let mut child = cmd()? in preview2_stdin() 2514 |cmd| { in p3_cli_serve_hello_world_many() 2529 |cmd| { in p3_cli_serve_hello_world_many_no_reuse() 2545 |cmd| { in p3_cli_serve_hello_world_many_no_concurrent_reuse() 2560 |cmd| { in p2_cli_serve_hello_world_many() 2573 |cmd| { in p2_cli_serve_hello_world_many_with_reuse() 2653 |cmd| { in p2_cli_serve_sleep_many() [all …]
|
| H A D | debug_component.rs | 8 let mut cmd = get_wasmtime_command()?; in run_debugger_test() localVariable 9 cmd.args(&[ in run_debugger_test() 17 let output = cmd.output()?; in run_debugger_test()
|
| /wasmtime-44.0.1/crates/test-programs/artifacts/ |
| H A D | build.rs | 162 let mut cmd = cargo(); in build_rust_tests() localVariable 163 cmd.arg("build"); in build_rust_tests() 165 cmd.arg("--release"); in build_rust_tests() 210 let mut cmd = cargo(); in build_adapter() localVariable 211 cmd.arg("build") in build_adapter() 219 cmd.arg(f); in build_adapter() 331 cmd.arg(&path); in build_c_or_cpp_test() 335 cmd.arg("-g"); in build_c_or_cpp_test() 337 cmd.arg("-o"); in build_c_or_cpp_test() 338 cmd.arg(&wasm_path); in build_c_or_cpp_test() [all …]
|
| /wasmtime-44.0.1/scripts/ |
| H A D | publish.rs | 218 fn cmd_output(cmd: &mut Command) -> Output { in cmd_output() 219 eprintln!("Running: `{:?}`", cmd); in cmd_output() 220 match cmd.output() { in cmd_output() 227 eprintln!("Running: `{:?}`", cmd); in cmd_status() 228 match cmd.status() { in cmd_status() 234 fn run_cmd(cmd: &mut Command) { in run_cmd() 235 let status = cmd_status(cmd); in run_cmd() 239 cmd, in run_cmd() 523 cmd.arg("package") in verify() 528 cmd.arg("--no-verify"); in verify() [all …]
|
| /wasmtime-44.0.1/crates/test-util/src/ |
| H A D | lib.rs | 28 let mut cmd = Command::new(parts.next().unwrap()); in command() localVariable 30 cmd.arg(arg); in command() 32 cmd.arg(bin); in command() 33 cmd in command()
|
| /wasmtime-44.0.1/tests/ |
| H A D | wasi.rs | 194 let mut cmd = wasmtime_test_util::command(wasmtime); in run_test() localVariable 195 cmd.arg("run"); in run_test() 197 cmd.arg("--dir"); in run_test() 201 cmd.arg(format!("{}::{dir}", dst.display())); in run_test() 204 cmd.arg("--env"); in run_test() 205 cmd.arg(format!("{k}={v}")); in run_test() 209 cmd.arg("-Sp3,http").arg("-Wcomponent-model-async"); in run_test() 214 cmd.arg(path); in run_test() 215 cmd.args(args); in run_test() 217 let result = cmd.output()?; in run_test()
|
| H A D | disas.rs | 303 let mut cmd = wasmtime_test_util::command(env!("CARGO_BIN_EXE_wasmtime")); in assert_output() localVariable 304 cmd.arg("objdump") in assert_output() 312 cmd.args(args.to_vec()); in assert_output() 315 cmd.arg("--traps=false"); in assert_output() 319 cmd.arg("--filter").arg(filter); in assert_output() 322 let mut child = cmd.spawn().context("failed to run wasmtime")?; in assert_output()
|
| /wasmtime-44.0.1/crates/wasi/tests/ |
| H A D | process_stdin.rs | 95 let mut cmd = Command::new(me); in parent_process() localVariable 96 cmd.env(VAR_NAME, "1"); in parent_process() 97 cmd.stdin(std::process::Stdio::piped()); in parent_process() 100 cmd.stdout(std::process::Stdio::inherit()); in parent_process() 102 cmd.stdout(std::process::Stdio::null()); in parent_process() 105 cmd.stderr(std::process::Stdio::piped()); in parent_process() 106 let mut child = cmd.spawn().unwrap(); in parent_process()
|
| /wasmtime-44.0.1/tests/all/guest_debug/ |
| H A D | mod.rs | 67 let mut cmd = Command::new(wasmtime_binary()); in spawn() localVariable 68 cmd.arg(subcmd) in spawn() 75 let mut child = cmd.spawn()?; in spawn() 131 let mut cmd = Command::new(lldb_path()); in lldb_with_gdbstub_script() localVariable 132 cmd.arg("--batch"); in lldb_with_gdbstub_script() 133 cmd.arg("-o").arg(format!( in lldb_with_gdbstub_script() 139 cmd.arg("-o").arg(line); in lldb_with_gdbstub_script() 144 let output = cmd.output()?; in lldb_with_gdbstub_script()
|
| /wasmtime-44.0.1/crates/gdbstub-component/artifact/ |
| H A D | build.rs | 22 let mut cmd = cargo(); in main() localVariable 23 cmd.arg("build") in main() 31 let status = cmd.status().unwrap(); in main()
|
| /wasmtime-44.0.1/cranelift/ |
| H A D | run-souper.sh | 43 …local cmd="taskset --cpu-list 0-3 $souper --infer-rhs -souper-enumerative-synthesis-max-instructio… 46 $(which timeout) --foreground --kill-after=1s $TIMEOUT bash -c "$cmd"
|
| /wasmtime-44.0.1/src/bin/ |
| H A D | wasmtime.rs | 162 let mut cmd = Wasmtime::command(); in execute() localVariable 163 let cli_name = cmd.get_name().to_owned(); in execute() 165 clap_complete::generate(self.shell, &mut cmd, cli_name, &mut std::io::stdout()); in execute()
|
| /wasmtime-44.0.1/cranelift/reader/src/ |
| H A D | testcommand.rs | 40 let cmd = parts.next().unwrap_or(""); in new() localVariable 42 command: cmd, in new()
|
| /wasmtime-44.0.1/cranelift/codegen/ |
| H A D | build.rs | 103 let mut cmd = std::process::Command::new("git"); in main() localVariable 104 cmd.arg("rev-parse") in main() 108 let version = if let Ok(mut child) = cmd.spawn() { in main()
|
| /wasmtime-44.0.1/crates/wasmtime/tests/ |
| H A D | host_segfault.rs | 236 let mut cmd = Command::new(me); in run_test() localVariable 237 cmd.env(VAR_NAME, name); in run_test() 238 let output = cmd.output().expect("failed to spawn subprocess"); in run_test()
|
| /wasmtime-44.0.1/src/commands/ |
| H A D | serve.rs | 664 cmd: self, in serve() 760 cmd: ServeCommand, field 771 let mut store = self.cmd.new_store(&self.engine, req_id)?; in new_store() 772 let write_profile = setup_epoch_handler(&self.cmd, &mut store, self.component.clone())?; in new_store() 781 self.cmd.run.common.wasm.timeout.unwrap_or(Duration::MAX) in request_timeout() 785 self.cmd.idle_instance_timeout in idle_instance_timeout() 891 cmd: &ServeCommand, in setup_epoch_handler() 896 if let Some(Profile::Guest { interval, path }) = &cmd.run.profile { in setup_epoch_handler() 907 if cmd.run.common.wasm.timeout.is_some() { in setup_epoch_handler()
|
| /wasmtime-44.0.1/crates/fuzzing/src/oracles/ |
| H A D | component_async.rs | 247 while let Some(cmd) = host_caller.next(store).await { in run() 248 host_caller_cmd(&test, store, cmd).await; in run() 252 while let Some(cmd) = host_callee.next(store).await { in run() 253 host_callee_cmd(store, cmd).await; in run() 295 async fn host_caller_cmd(test: &Guest, store: &Accessor<Data>, cmd: Command) { in host_caller_cmd() 296 match cmd { in host_caller_cmd() 358 async fn host_callee_cmd(store: &Accessor<Data>, cmd: Command) { in host_callee_cmd() 359 match cmd { in host_callee_cmd() 385 async fn future_or_stream_cmd(store: &Accessor<Data>, cmd: Command) { in future_or_stream_cmd() 386 match cmd { in future_or_stream_cmd()
|
| /wasmtime-44.0.1/crates/cli-flags/src/ |
| H A D | opt.rs | 182 cmd: &clap::Command, in parse_ref() 186 let val = StringValueParser::new().parse_ref(cmd, arg, value)?; in parse_ref() 274 return Err(err.with_cmd(cmd)); in parse_ref() 283 .with_cmd(cmd) in parse_ref()
|
| /wasmtime-44.0.1/cranelift/codegen/src/egraph/ |
| H A D | mod.rs | 421 if let Some(cmd) = self.simplify_skeleton_inst(inst) { in optimize_skeleton_inst() 423 return Some(cmd); in optimize_skeleton_inst() 886 if let Some(cmd) = ctx.optimize_skeleton_inst(inst, block) { in remove_pure_and_optimize() 888 cmd, in remove_pure_and_optimize()
|
| /wasmtime-44.0.1/crates/debugger/src/ |
| H A D | lib.rs | 205 while let Some(cmd) = in_rx.recv().await { in handle() 206 match cmd { in handle()
|
| /wasmtime-44.0.1/crates/wasi-nn/examples/classification-component-onnx/ |
| H A D | README.md | 84 You can monitor GPU usage using cmd `watch -n 1 nvidia-smi`.
|
| /wasmtime-44.0.1/crates/fuzzing/src/generators/ |
| H A D | component_async.rs | 478 let (scope, cmd) = self.deferred.swap_remove(index); in generate() 479 commands.push((scope, cmd)); in generate()
|
| /wasmtime-44.0.1/ |
| H A D | Cargo.toml | 586 # CLI subcommands for the `wasmtime` executable. See `wasmtime $cmd --help`
|