about summary refs log tree commit diff
path: root/src/librustdoc/html/static/js/source-script.js
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-04-28 02:40:37 +0200
committerGitHub <noreply@github.com>2022-04-28 02:40:37 +0200
commit89db345859a3f4e33aa334713767e79870319369 (patch)
treedd98eee53ea80c1870ba82851d369af60a09d649 /src/librustdoc/html/static/js/source-script.js
parent4c628bbb1c266a8513b364dca5ae7e311a1e0777 (diff)
parentbeb4e16f055aa7925194fd2c360105a6d55f10f6 (diff)
downloadrust-89db345859a3f4e33aa334713767e79870319369.tar.gz
rust-89db345859a3f4e33aa334713767e79870319369.zip
Rollup merge of #96483 - Urgau:check-cfg-target_feature, r=petrochenkov
Add missing `target_feature` to the list of well known cfg names

This PR adds the missing `target_feature` cfg name to the list of well known cfg names.

It was notice missing in https://github.com/rust-lang/rust/issues/96472 thanks to `@bjorn3,` the reason being that `--check-cfg=names()` automatically inherit the names passed by `--cfg` (or internal to `rustc`) and is seems that the vast majority of targets have at least one target feature leading to `target_feature` being a well known name in most target but it should always be a well known name so this PR add it unconditionally to list.

r? `@petrochenkov`
Diffstat (limited to 'src/librustdoc/html/static/js/source-script.js')
0 files changed, 0 insertions, 0 deletions