Support for 'split-debuginfo' on wasm targets
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 119k
- Forks
- 16.1k
- PR merge metrics
- PR metrics pending
Description
According to the documentation at Rust Compiler Codegen Options, setting split-debuginfo = "packed" should result in the generation of dwp files.
However, when building for wasm32-unknown-unknown and wasm32-wasip1, I was unable to obtain dwp files. In contrast, dwp files were successfully generated when building for x86_64-linux-unknown-gnu.
I hope that 'split-debuginfo' will be properly supported for wasm targets as well.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Rust Compiler Codegen Options documentation for split-debuginfo and reproduce the difference between wasm32-unknown-unknown, wasm32-wasip1, and x86_64-linux-unknown-gnu using split-debuginfo = "packed". Done means wasm builds generate the expected dwp files, with the behavior verified for both wasm targets.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust, wasm
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100