]> git.proxmox.com Git - rustc.git/blame - src/test/ui/asm/naked-functions-ffi.stderr
Update unsuspicious file list
[rustc.git] / src / test / ui / asm / naked-functions-ffi.stderr
CommitLineData
94222f64 1warning: `extern` fn uses type `char`, which is not FFI-safe
a2a8927a 2 --> $DIR/naked-functions-ffi.rs:9:28
94222f64
XL
3 |
4LL | pub extern "C" fn naked(p: char) -> u128 {
5 | ^^^^ not FFI-safe
6 |
94222f64
XL
7 = help: consider using `u32` or `libc::wchar_t` instead
8 = note: the `char` type has no C equivalent
2b03887a 9 = note: `#[warn(improper_ctypes_definitions)]` on by default
94222f64
XL
10
11warning: `extern` fn uses type `u128`, which is not FFI-safe
a2a8927a 12 --> $DIR/naked-functions-ffi.rs:9:37
94222f64
XL
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