()
| 302 | |
| 303 | #[test] |
| 304 | fn linker_alias() -> Result<()> { |
| 305 | let mut config = Config::new(); |
| 306 | config.enable_compiler(false); |
| 307 | config.concurrency_support(false); |
| 308 | let engine = Engine::new(&config)?; |
| 309 | |
| 310 | OomTest::new().test(|| { |
| 311 | let mut linker = Linker::<()>::new(&engine); |
| 312 | linker.func_wrap("mod", "func", || {})?; |
| 313 | linker.alias("mod", "func", "mod2", "func2")?; |
| 314 | Ok(()) |
| 315 | }) |
| 316 | } |
| 317 | |
| 318 | #[test] |
| 319 | fn linker_alias_module() -> Result<()> { |
nothing calls this directly
no test coverage detected