bytecodealliance / bytecodealliance/wasm-tools
Support relaxed kebab case for filenames in `compose`
Open
- Dominant language
- Rust
- Stars
- 1.8k
- Forks
- 351
- Avg merge
- 16h 57m
- Merged PRs (30d)
- 38
Description
Rust `[lib]` artifacts generated by `cargo component` are _not_ compatible with kebab case, see https://github.com/bytecodealliance/cargo-component/issues/250#issuecomment-1979608104 for context:
```sh
# Wasm generated by `cargo component` in `target/wasm32-wasi//
error: `some_lib_package.wasm` is not in kebab case (at offset 0x0)
```
It's a real unfortunate hack to need to do something like this in a build or make script:
```sh
ln -fs some_lib_package.wasm target/wasm32-wasi/release/some-lib-package.wasm
```
I am all ears on how to better manage this case mismatch, other than the hack above. :pray:
Contributor guide
Assessment
This issue has not been assessed yet.