Skip to content

Conversation

@mlugg
Copy link
Member

@mlugg mlugg commented Sep 15, 2024

Also, start using labeled switch statements when dispatching maybe-runtime instructions like condbr to comptime-only variants like condbr_inline.

This can't be merged until we get a zig1.wasm update due to #21385.

Resolves: #21405

@mlugg mlugg marked this pull request as draft September 15, 2024 12:44
@mlugg
Copy link
Member Author

mlugg commented Sep 15, 2024

Canceled the workflow and marked PR as draft, since it can't merged until a zig1.wasm update, and it'd be silly to do one just for this.

mlugg added a commit to mlugg/zig that referenced this pull request Oct 19, 2024
As well as being necessary for the `CallingConvention` changes, this
update includes the following notable changes:

* Fix unlabeled `break` targeting the wrong scope in the presence of
  labeled continue, unblocking ziglang#21422
* Implement `@FieldType`
* Implement `@splat` on arrays

Signed-off-by: mlugg <[email protected]>
@mlugg mlugg marked this pull request as ready for review October 27, 2024 22:18
Also, start using labeled switch statements when dispatching
maybe-runtime instructions like condbr to comptime-only variants like
condbr_inline.

This can't be merged until we get a zig1.wasm update due to ziglang#21385.

Resolves: ziglang#21405
@mlugg mlugg force-pushed the condbr-inline-sema-loop branch from b80262a to 27ac46a Compare October 27, 2024 22:18
@mlugg mlugg enabled auto-merge (rebase) October 27, 2024 22:20
richerfu pushed a commit to richerfu/zig that referenced this pull request Oct 28, 2024
As well as being necessary for the `CallingConvention` changes, this
update includes the following notable changes:

* Fix unlabeled `break` targeting the wrong scope in the presence of
  labeled continue, unblocking ziglang#21422
* Implement `@FieldType`
* Implement `@splat` on arrays

Signed-off-by: mlugg <[email protected]>
@mlugg mlugg merged commit 05b445a into ziglang:master Oct 28, 2024
10 checks passed
@mlugg mlugg deleted the condbr-inline-sema-loop branch May 18, 2025 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Invalid code compiles in comptime

1 participant