-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Description
Problem
I have a large project that I'm building on Windows for the x86_64-pc-windows-msvc target that I am expecting to have a PDB produced for, but am not seeing that in either the target\release\deps folder or the target\release folder. I have created a separate smaller test project that does not have this issue.
Steps
I'm honestly not sure what steps are necessary. For what it's worth, this is my large project's Cargo.toml (dependencies removed to reduce clutter):
[package]
name = "large-app"
version = "0.1.0"
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[[bin]]
name = "large-app"
path = "src/main.rs"
[profile.release]
debug = true
# turn off optimizations for build scripts and proc macros
[profile.release.build-override]
opt-level = 0
[dependencies]
...
And this is the Cargo.toml from my small, fresh application:
[package]
name = "tester"
version = "0.1.0"
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
[profile.release]
debug = true
[profile.release.build-override]
opt-level = 0
Notes
Output of cargo version
: cargo 1.42.0 (8633429 2020-01-31)
rustc version: rustc 1.42.0 (b8cedc004 2020-03-09)
I'm not sure what else would be useful to see here. The same thing is occurring with nightly cargo 1.44.0-nightly (74e3a7d 2020-04-13).