You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Noticed it causing issues with cargo as it uses --emit=dep-info,link and then parses the files as part of the fingerprinting process.
It seems every instance of macro generated code (e.g. via serde_derive) creates a rustc-macro\ source\ code entry into this file which when cargo tries to look up it can't find.
This "special filename" is surrounded by `<>` to ensure that
`FileMap::is_real_file` returns `false`. This way the "files" parsed here aren't
emitted as dep info `.d` files and don't confuse Cargo about non-existent files.
Closesrust-lang#36625
rustc: Use a special filename for macros 1.1
This "special filename" is surrounded by `<>` to ensure that
`FileMap::is_real_file` returns `false`. This way the "files" parsed here aren't
emitted as dep info `.d` files and don't confuse Cargo about non-existent files.
Closes#36625
Noticed it causing issues with cargo as it uses
--emit=dep-info,link
and then parses the files as part of the fingerprinting process.It seems every instance of macro generated code (e.g. via serde_derive) creates a
rustc-macro\ source\ code
entry into this file which when cargo tries to look up it can't find.Cargo issue: rust-lang/cargo#3094
The text was updated successfully, but these errors were encountered: