diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2018-04-19 17:54:20 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2018-04-19 17:54:20 -0700 |
| commit | 81a643731d987aa320c936110326ab9dfe812bd0 (patch) | |
| tree | 912ebd776e9aa7b0c52b24c04fbf2992af9dda39 /src/rustllvm/PassWrapper.cpp | |
| parent | fc9da8f795b2670dd1f211d17c0896cc2ea85d45 (diff) | |
| download | rust-81a643731d987aa320c936110326ab9dfe812bd0.tar.gz rust-81a643731d987aa320c936110326ab9dfe812bd0.zip | |
rustc: Blanket whitelist `#[target_feature]`
This commit transitions the `target_feature` attribute from `Normal` to `Whitelisted`. Discovered in #50095 the fact of whether this attribute is used or not is dependent on typechecking running and executing `check_name`, but incremental compilation doesn't currently account for this, meaning that the attribute ends up being flagged as unused when it shouldn't be. I was a little too ambitious it seems hoping that `Normal` could be used, so instead this transitions to `Whitelisted` to be the same as other codegen attributes like `#[inline]` Closes #50095
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
