()
| 194 | |
| 195 | #[test] |
| 196 | fn ptr_out_of_bounds() -> Result<()> { |
| 197 | let engine = wasmtime_test_util::component::engine(); |
| 198 | for src in ENCODINGS { |
| 199 | for dst in ENCODINGS { |
| 200 | test_ptr_out_of_bounds(&engine, src, dst)?; |
| 201 | } |
| 202 | } |
| 203 | Ok(()) |
| 204 | } |
| 205 | |
| 206 | fn test_ptr_out_of_bounds(engine: &Engine, src: &str, dst: &str) -> Result<()> { |
| 207 | let test = |len: u32| -> Result<()> { |
nothing calls this directly
no test coverage detected