()
| 730 | |
| 731 | #[test] |
| 732 | fn wasi_misaligned_pointer() -> Result<()> { |
| 733 | let output = get_wasmtime_command()? |
| 734 | .arg("./tests/all/cli_tests/wasi_misaligned_pointer.wat") |
| 735 | .output()?; |
| 736 | assert!(!output.status.success()); |
| 737 | let stderr = String::from_utf8_lossy(&output.stderr); |
| 738 | assert!( |
| 739 | stderr.contains("Pointer not aligned"), |
| 740 | "bad stderr: {stderr}", |
| 741 | ); |
| 742 | Ok(()) |
| 743 | } |
| 744 | |
| 745 | #[test] |
| 746 | #[cfg_attr(not(feature = "component-model"), ignore)] |
nothing calls this directly
no test coverage detected