-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Open
Labels
A-debuggingArea: debug builds and debugging generated codeArea: debug builds and debugging generated codeC-bugCategory: bugCategory: bugS-blocked-externalStatus: ❌ blocked on something out of the direct control of the Cargo project, e.g., upstream fixStatus: ❌ blocked on something out of the direct control of the Cargo project, e.g., upstream fix
Description
Problem
I'm using 1.72.0 toolchain now, but it seems debuginfo is still generated. I created a blank binary crate(dummy) and added the ref-cast = "1" dependency. Now when building with cargo build --release, there's four pdb files generated:
dummy.pdbwhich may or may not be necessary.ref_cast_impl-76ca1ba5cac1102e.pdbwhich is for the proc-macro.build_script_build-6a4abe8b3691b295.pdbwhich is for theref-castbuild.rsscriptbuild_script_build-9201a10d7023ee91.pdbwhich is for theproc-macro2build.rsscript
weihanglo
Metadata
Metadata
Assignees
Labels
A-debuggingArea: debug builds and debugging generated codeArea: debug builds and debugging generated codeC-bugCategory: bugCategory: bugS-blocked-externalStatus: ❌ blocked on something out of the direct control of the Cargo project, e.g., upstream fixStatus: ❌ blocked on something out of the direct control of the Cargo project, e.g., upstream fix