fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: `extern` block uses type `W`, which is not FFI-safe 2 --> $DIR/union-repr-c.rs:15:22 3 | 4LL | static FOREIGN2: W; 5 | ^ not FFI-safe 6 | 7 = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this union 8 = note: this union has unspecified layout 9note: the type is defined here 10 --> $DIR/union-repr-c.rs:9:1 11 | 12LL | union W { 13 | ^^^^^^^ 14note: the lint level is defined here 15 --> $DIR/union-repr-c.rs:2:9 16 | 17LL | #![deny(improper_ctypes)] 18 | ^^^^^^^^^^^^^^^ 19 20error: aborting due to previous error 21