fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
694 B20 linesraw
1warning: `extern` fn uses type `char`, which is not FFI-safe
2  --> $DIR/naked-functions-ffi.rs:9:28
3   |
4LL | pub extern "C" fn naked(p: char) -> u128 {
5   |                            ^^^^ not FFI-safe
6   |
7   = help: consider using `u32` or `libc::wchar_t` instead
8   = note: the `char` type has no C equivalent
9   = note: `#[warn(improper_ctypes_definitions)]` on by default
10
11warning: `extern` fn uses type `u128`, which is not FFI-safe
12  --> $DIR/naked-functions-ffi.rs:9:37
13   |
14LL | pub extern "C" fn naked(p: char) -> u128 {
15   |                                     ^^^^ not FFI-safe
16   |
17   = note: 128-bit integers don't currently have a known stable ABI
18
19warning: 2 warnings emitted
20