Home
last modified time | relevance | path

Searched refs:command (Results 1 – 25 of 101) sorted by relevance

12345

/wasmtime-44.0.1/src/commands/
H A Dcompile.rs28 #[command(
33 #[command(flatten)]
123 let command = CompileCommand::try_parse_from(vec![ in test_successful_compile() localVariable
131 command.execute()?; in test_successful_compile()
154 let command = CompileCommand::try_parse_from(vec![ in test_x64_flags_compile() localVariable
176 command.execute()?; in test_x64_flags_compile()
191 let command = CompileCommand::try_parse_from(vec![ in test_aarch64_flags_compile() localVariable
205 command.execute()?; in test_aarch64_flags_compile()
220 let command = CompileCommand::try_parse_from(vec![ in test_unsupported_flags_compile() localVariable
230 command.execute().unwrap_err().to_string(), in test_unsupported_flags_compile()
[all …]
H A Dconfig.rs12 #[command(subcommand)]
19 #[command(after_help = CONFIG_NEW_AFTER_HELP)]
H A Dwizer.rs12 #[command(flatten)]
15 #[command(flatten)]
21 #[command(flatten)]
/wasmtime-44.0.1/src/bin/
H A Dwasmtime.rs11 #[command(
39 #[command(subcommand)]
43 #[command(subcommand)]
45 #[command(flatten)]
162 let mut cmd = Wasmtime::command(); in execute()
178 Wasmtime::command().debug_assert() in verify_cli()
/wasmtime-44.0.1/crates/wasi/tests/all/p2/
H A Dapi.rs39 let command = Command::instantiate_async(&mut store, &component, &linker).await?; in instantiate() localVariable
40 Ok((store, command)) in instantiate()
80 let (mut store, command) = in p2_api_time()
83 command in p2_api_time()
102 let (mut store, command) = in p2_api_read_only()
105 command in p2_api_read_only()
/wasmtime-44.0.1/cranelift/src/
H A Dinterpret.rs110 if let Some(command) = parse_run_command(comment.text, &func.signature) in run()
113 commands.push(command); in run()
121 for command in commands { in run()
122 command in run()
/wasmtime-44.0.1/cranelift/reader/src/
H A Dtestcommand.rs21 pub command: &'a str, field
42 command: cmd, in new()
53 write!(f, "{}", self.command)?; in fmt()
H A Drun_command.rs135 let command = parse_run_command(";; run: %return42() == 42 ", &signature) in run_a_command() localVariable
139 assert!(command.run(|_, _| Ok(vec![DataValue::I32(42)])).is_ok()); in run_a_command()
140 assert!(command.run(|_, _| Ok(vec![DataValue::I32(43)])).is_err()); in run_a_command()
/wasmtime-44.0.1/docs/
H A Dcontributing-building.md14 initialized with this command:
36 of the repository and run this command:
44 To make an optimized build, run this command in the root of the repository:
65 execute this command:
H A Dexamples-debugging-core-dumps.md8 command-line interface. For details on how to generate core dumps via the
35 We can compile it to Wasm with the following command:
52 1: failed to invoke command default
H A Dcontributing-implementing-wasm-proposals.md68 executed by the wasmtime command. The following steps allow for testing such
77 as a command adapter. `cargo build -p wasi-preview1-component-adapter --target
78 wasm32-wasip1 --release --features command --no-default-features`
82 wasi_snapshot_preview1=wasi_snapshot_preview1.command.wasm -o component.wasm
/wasmtime-44.0.1/examples/wasip2-plugins/src/
H A Dmain.rs114 #[command(name = "calculator-host", version = env!("CARGO_PKG_VERSION"))]
115 #[command(about = "A calculator with plugin support")]
117 #[command(flatten)]
/wasmtime-44.0.1/examples/wasip2-async/
H A Dmain.rs51 let command = Command::instantiate_async(&mut store, &component, &linker).await?; in main() localVariable
52 let program_result = command.wasi_cli_run().call_run(&mut store).await?; in main()
/wasmtime-44.0.1/cranelift/filetests/src/
H A Dtest_interpret.rs25 assert_eq!(parsed.command, "interpret"); in subtest()
81 if let Some(command) = parse_run_command(comment.text, &func.signature)? { in run_test()
84 command in run_test()
H A Dlib.rs88 match parsed.command { in new_subtest()
102 _ => anyhow::bail!("unknown test command '{}'", parsed.command), in new_subtest()
/wasmtime-44.0.1/crates/wasi-keyvalue/tests/
H A Dmain.rs36 let command = Command::instantiate_async(&mut store, &component, &linker).await?; in run_wasi() localVariable
37 command in run_wasi()
/wasmtime-44.0.1/crates/wasi-config/tests/
H A Dmain.rs37 let command = Command::instantiate_async(&mut store, &component, &linker).await?; in run_wasi() localVariable
38 command in run_wasi()
/wasmtime-44.0.1/examples/wasip2/
H A Dmain.rs50 let command = Command::instantiate(&mut store, &component, &linker)?; in main() localVariable
51 let program_result = command.wasi_cli_run().call_run(&mut store)?; in main()
/wasmtime-44.0.1/crates/wasi-nn/tests/exec/
H A Dwit.rs24 let command = Command::instantiate(&mut store, &module, &linker)?; in run() localVariable
25 let result = command.wasi_cli_run().call_run(&mut store)?; in run()
/wasmtime-44.0.1/crates/wasi-preview1-component-adapter/
H A DREADME.md28 "command" adapter by passing `--features command --no-default-features` which
32 Alternatively the latest copy of the command and reactor adapters can be
/wasmtime-44.0.1/crates/fuzzing/wit/
H A Dfuzz.wit6 variant command {
102 get-commands: func(s: scope) -> stream<command>;
106 use types.{command, scope};
121 // command using the `id` provided.
/wasmtime-44.0.1/crates/wasi-tls/tests/p3/
H A Dmod.rs57 let command = Command::instantiate_async(&mut store, &component, &linker).await?; in run_test() localVariable
59 .run_concurrent(async move |store| command.wasi_cli_run().call_run(store).await) in run_test()
/wasmtime-44.0.1/crates/wasi-tls/tests/p2/
H A Dmod.rs57 let command = Command::instantiate_async(&mut store, &component, &linker).await?; in run_test() localVariable
58 command in run_test()
/wasmtime-44.0.1/crates/wasi-http/tests/all/p2/
H A Dsync.rs16 let command = Command::instantiate(&mut store, &component, &linker)?; in run() localVariable
17 let result = command.wasi_cli_run().call_run(&mut store)?; in run()
/wasmtime-44.0.1/cranelift/docs/
H A Dtesting.md75 also be run manually with the `clif-util test` command.
104 directives in the test file. LLVM's :command:`FileCheck` command has a
111 from textual IR. The `test cat` command simply parses each function and
161 filecheck over the result. See also the :command:`clif-util print-cfg`
162 command:
218 function through filecheck. This test command can be used to validate the
285 This test command allows several directives:

12345