diff options
| author | David Wood <david@davidtw.co> | 2020-06-13 19:37:25 +0100 |
|---|---|---|
| committer | David Wood <david@davidtw.co> | 2020-07-20 10:28:12 +0100 |
| commit | ceac273e60447014038e511e5af43841c359547c (patch) | |
| tree | e98e9448955656f43736ec024a740b808fb62295 /library/std/src/sys/unix/stack_overflow.rs | |
| parent | 891e6fee572009ff2be4d4057fb33483610c36a7 (diff) | |
| download | rust-ceac273e60447014038e511e5af43841c359547c.tar.gz rust-ceac273e60447014038e511e5af43841c359547c.zip | |
wf: check foreign fn decls for well-formedness
This commit 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. Signed-off-by: David Wood <david@davidtw.co>
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
