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.pdb which may or may not be necessary.
ref_cast_impl-76ca1ba5cac1102e.pdb which is for the proc-macro.
build_script_build-6a4abe8b3691b295.pdb which is for the ref-cast build.rs script
build_script_build-9201a10d7023ee91.pdb which is for the proc-macro2 build.rs script
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 theref-cast = "1"dependency. Now when building withcargo 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