Normalize `-` to `_` in resulting Wasm file names (#9644)

This PR updates the extension builder to normalize `-` to `_` in the
Rust package names when computing the resulting `.wasm` file name.

The `wasm32-wasi` target does this normalization internally already, so
we need to do the same to ensure we're looking for the resulting `.wasm`
file in the right spot.

Release Notes:

- N/A
1f21088591Marshall Bowers committed on 3/21/2024, 3:48:08 PM· committed by GitHubparent3831088
1 file changedLine totals unavailable