pub(crate) fn build_wasm_codec( nix_env: &NixEnv, target_dir: &Path, crate_dir: &Path, crate_name: &str, ) -> Result<PathBuf>