Empty enum breaks --target=asmjs-unknown-emscripten #46730
Labels
A-codegen
Area: Code generation
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
O-asmjs
Target: asm.js - http://asmjs.org/
O-emscripten
Target: 50% off wasm32-unknown-musl. the savings come out of stdio.h, but hey, you get SDL!
This code breaks compiler (when
enum
doesn't have any variant):https://github.com/DenisKolodin/emcc-fail/blob/master/src/main.rs#L17
I use:
latest nightly: rustc 1.24.0-nightly (f8af59d 2017-12-13) running on x86_64-unknown-linux-gnu
cargo web: cargo-web 0.3.4 (koute/cargo-web@2bd88e8)
Emscripten: system change: 1.37.21|/usr/bin|4.0 vs 1.37.21
The text was updated successfully, but these errors were encountered: