MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / enabling_debug_info_doesnt_break_anything

Function enabling_debug_info_doesnt_break_anything

tests/all/pulley.rs:492–498  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

490#[test]
491#[cfg(not(miri))]
492fn enabling_debug_info_doesnt_break_anything() -> Result<()> {
493 let mut config = pulley_config();
494 config.debug_info(true);
495 let engine = Engine::new(&config)?;
496 assert!(Module::from_file(&engine, "./tests/all/cli_tests/greeter_command.wat").is_err());
497 Ok(())
498}
499
500// Ensure that Pulley doesn't require that the input image is aligned at any
501// particular boundary, namely for now this double-checks that the `unaligned`

Callers

nothing calls this directly

Calls 4

pulley_configFunction · 0.85
OkFunction · 0.85
newFunction · 0.50
debug_infoMethod · 0.45

Tested by

no test coverage detected