-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rustc: Use a special filename for macros 1.1 #36776
Conversation
r? @nrc (rust_highfive has picked a reviewer for you, use r? to override) |
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 rust-lang#36625
79d20e2
to
20a71b2
Compare
@bors: r+ |
📌 Commit 20a71b2 has been approved by |
⌛ Testing commit 20a71b2 with merge 6d49ecc... |
💔 Test failed - auto-win-gnu-64-opt |
@bors: reetry On Tue, Sep 27, 2016 at 7:37 PM, bors [email protected] wrote:
|
@bors: retry On Tue, Sep 27, 2016 at 7:53 PM, Alex Crichton [email protected]
|
⌛ Testing commit 20a71b2 with merge 1c7d25a... |
@bors: retry force clean |
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
This "special filename" is surrounded by
<>
to ensure thatFileMap::is_real_file
returnsfalse
. This way the "files" parsed here aren'temitted as dep info
.d
files and don't confuse Cargo about non-existent files.Closes #36625