pub fn read_wasm( target_dir: &Path, crate_name: &str, profile_target_dir: &str, ) -> Vec<u8> ⓘ
Read a compiled Wasm artifact for one crate.
Panics with the crate name when the artifact cannot be read.