| /wasmtime-44.0.1/src/commands/ |
| H A D | compile.rs | 28 #[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 D | config.rs | 12 #[command(subcommand)] 19 #[command(after_help = CONFIG_NEW_AFTER_HELP)]
|
| H A D | wizer.rs | 12 #[command(flatten)] 15 #[command(flatten)] 21 #[command(flatten)]
|
| /wasmtime-44.0.1/src/bin/ |
| H A D | wasmtime.rs | 11 #[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 D | api.rs | 39 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 D | interpret.rs | 110 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 D | testcommand.rs | 21 pub command: &'a str, field 42 command: cmd, in new() 53 write!(f, "{}", self.command)?; in fmt()
|
| H A D | run_command.rs | 135 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 D | contributing-building.md | 14 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 D | examples-debugging-core-dumps.md | 8 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 D | contributing-implementing-wasm-proposals.md | 68 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 D | main.rs | 114 #[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 D | main.rs | 51 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 D | test_interpret.rs | 25 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 D | lib.rs | 88 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 D | main.rs | 36 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 D | main.rs | 37 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 D | main.rs | 50 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 D | wit.rs | 24 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 D | README.md | 28 "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 D | fuzz.wit | 6 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 D | mod.rs | 57 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 D | mod.rs | 57 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 D | sync.rs | 16 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 D | testing.md | 75 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:
|