about summary refs log tree commit diff
path: root/src/rustc
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2018-04-19 17:50:31 -0700
committerAlex Crichton <alex@alexcrichton.com>2018-04-19 17:54:13 -0700
commitfc9da8f795b2670dd1f211d17c0896cc2ea85d45 (patch)
tree657313e9cfc2f7167b3c1da45fbcf95c840c21a5 /src/rustc
parent8830a0304327ba8c983555ac5d42cec0569c31bb (diff)
downloadrust-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