about summary refs log tree commit diff
path: root/library/std/src/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-04-27 02:29:49 +0000
committerbors <bors@rust-lang.org>2020-04-27 02:29:49 +0000
commit5d8a3e8724f587c6b2a888087a3643ead5534fde (patch)
treeb855670a12db4b0c6b8fee1b182508be38e962fe /library/std/src/sys/unix/stack_overflow.rs
parent87a6f3fc2c3300ee7ea165ff7da7c085f534b142 (diff)
parent303e7d1af8f1a2eb0c584e94f4392104227a9392 (diff)
downloadrust-5d8a3e8724f587c6b2a888087a3643ead5534fde.tar.gz
rust-5d8a3e8724f587c6b2a888087a3643ead5534fde.zip
Auto merge of #5506 - ebroto:mismatched_target_os, r=flip1995
Implement mismatched_target_os lint

I've extended the check suggested in the issue to all the currently supported operating systems instead of limiting it to `linux` and `macos`, let me know if we want to do this.

Also, I've restored the text `There are over XXX lints ...` in the README as it was matched against by `cargo dev new_lint`.

changelog: Added `mismatched_target_os` lint to warn when an operating system is used in target family position in a #[cfg] attribute

Closes #3949
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions