# Normalize \`\-\` to \`\_\` in resulting Wasm file names \(\#9644\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/1f210885914fd1a31b76852f5dbfd9f9453cb8a0)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 1f210885914fd1a31b76852f5dbfd9f9453cb8a0

Requested commit: 1f210885914fd1a31b76852f5dbfd9f9453cb8a0

Commit: 1f210885914fd1a31b76852f5dbfd9f9453cb8a0

Tree: 8fee770c3316fd7c6239dc5c79649eac84ab9ece

Author: Marshall Bowers

Committer: GitHub

## Message

```
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
```

## Parents

- [38310882513ceec04d51c1f8a14586c41e3a564d](https://git.cafe/gitcafe/zed/commit/38310882513ceec04d51c1f8a14586c41e3a564d?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/1f210885914fd1a31b76852f5dbfd9f9453cb8a0?format=markdown)
