diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2018-04-19 17:50:31 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2018-04-19 17:54:13 -0700 |
| commit | fc9da8f795b2670dd1f211d17c0896cc2ea85d45 (patch) | |
| tree | 657313e9cfc2f7167b3c1da45fbcf95c840c21a5 /src/rustc | |
| parent | 8830a0304327ba8c983555ac5d42cec0569c31bb (diff) | |
| download | rust-fc9da8f795b2670dd1f211d17c0896cc2ea85d45.tar.gz rust-fc9da8f795b2670dd1f211d17c0896cc2ea85d45.zip | |
rustc: Whitelist upstream target_features
When compiling crates we'll be calculating and parsing `#[target_feature]` for upstream crates. We'll also be checking the stability of listed features, but we only want to check the listed stability during the actual crate that wrote the relevant code. This commit updates the `target_feature` process to ignore foreign `DefId` instances and only check the feature whitelist for local functions. Closes #50094
Diffstat (limited to 'src/rustc')
0 files changed, 0 insertions, 0 deletions
