about summary refs log tree commit diff
path: root/library/std/src/sys/unix/process/process_unix
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-07-03 20:30:28 +0000
committerbors <bors@rust-lang.org>2023-07-03 20:30:28 +0000
commit0ab38e95bb1cbf0bd038d359bdecbfa501f003a7 (patch)
tree8081459e64713b94ad374c67898847a5f02dc50a /library/std/src/sys/unix/process/process_unix
parent8931edf746da6aa2d86412516d805f5680929a5e (diff)
parent2227422920e544c1e73050f6ef1f687349e13a7d (diff)
downloadrust-0ab38e95bb1cbf0bd038d359bdecbfa501f003a7.tar.gz
rust-0ab38e95bb1cbf0bd038d359bdecbfa501f003a7.zip
Auto merge of #108611 - davidtwco:issue-94223-external-abi-fn-ptr-in-internal-abi-fn, r=jackh726
lint/ctypes: ext. abi fn-ptr in internal abi fn

Fixes #94223.

- In the improper ctypes lint, instead of skipping functions with internal ABIs, check that the signature doesn't contain any fn-ptr types with external ABIs that aren't FFI-safe.
- When computing the ABI for fn-ptr types, remove an `unwrap` that assumed FFI-safe types in foreign fn-ptr types.
  - I'm not certain that this is the correct approach.
Diffstat (limited to 'library/std/src/sys/unix/process/process_unix')
0 files changed, 0 insertions, 0 deletions