-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Closed
Labels
bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behaviorstage1The process of building from source via WebAssembly and the C backend.The process of building from source via WebAssembly and the C backend.
Milestone
Description
Zig Version
0.10.0-dev.2431+0e6285c8f
Steps to Reproduce
Compile the following code with zig build-exe main.zig
// main.zig
pub fn main() !void {
const a = @Vector(4, u32){1, 1, 1, 1};
_ = @intCast(u32, a);
}Expected Behavior
The compiler should compile the code successfuly
Actual Behavior
The compiler segfault ([1] 683085 segmentation fault (core dumped) zig build-exe main.zig)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behaviorstage1The process of building from source via WebAssembly and the C backend.The process of building from source via WebAssembly and the C backend.