-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #8319 - alexcrichton:fix-access, r=Eh2406
Fix an accidental raw access of field The manifest has a few different ways of specifying whether a crate is a procedural macro, and there's a `TomlTarget::proc_macro()` method to unify these various lines. Unfortunately though we had a bug where one location forgot to call the method and read the raw field! This led to surprising behavior where the different ways to specify a proc macro would have subtly different changes in behavior. The fix here in this PR is to ensure that we access the property always via the method. Closes #8315
- Loading branch information
Showing
3 changed files
with
73 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters