about summary refs log tree commit diff
path: root/library/std/src/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2020-07-20 12:30:16 -0700
committerGitHub <noreply@github.com>2020-07-20 12:30:16 -0700
commit0897bc2403946f2d07df842292d5a6e2b5e5f4ec (patch)
treeb4e8494a834bc601abb4466e7b83bc7fbf579155 /library/std/src/sys/unix/stack_overflow.rs
parent241374a93b4fe45daf2783b78415ba9a7928c790 (diff)
parentceac273e60447014038e511e5af43841c359547c (diff)
downloadrust-0897bc2403946f2d07df842292d5a6e2b5e5f4ec.tar.gz
rust-0897bc2403946f2d07df842292d5a6e2b5e5f4ec.zip
Rollup merge of #73323 - davidtwco:issue-73252-wfcheck-foreign-fn-decl, r=ecstatic-morse
wf: check foreign fn decls for well-formedness

Fixes #73252 and fixes #73253.

This PR extends current well-formedness checking to apply to foreign function declarations, re-using the existing machinery for regular functions. In doing this, later parts of the compiler (such as the `improper_ctypes` lint) can rely on being operations not failing as a result of invalid code which would normally be caught earlier.
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions