mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 08:34:33 +00:00
update zig to compile on nightly
This commit is contained in:
parent
784f9a097c
commit
9903e14cd3
4 changed files with 29 additions and 24 deletions
|
@ -9,12 +9,12 @@ const RocList = @import("list.zig").RocList;
|
|||
|
||||
const INITIAL_SEED = 0xc70f6907;
|
||||
|
||||
const InPlace = packed enum(u8) {
|
||||
const InPlace = enum(u8) {
|
||||
InPlace,
|
||||
Clone,
|
||||
};
|
||||
|
||||
const Slot = packed enum(u8) {
|
||||
const Slot = enum(u8) {
|
||||
Empty,
|
||||
Filled,
|
||||
PreviouslyFilled,
|
||||
|
@ -63,7 +63,7 @@ fn capacityOfLevel(input: usize) usize {
|
|||
// alignment of the key and value. The tag furthermore indicates
|
||||
// which has the biggest aligmnent. If both are the same, we put
|
||||
// the key first
|
||||
const Alignment = packed enum(u8) {
|
||||
const Alignment = enum(u8) {
|
||||
Align16KeyFirst,
|
||||
Align16ValueFirst,
|
||||
Align8KeyFirst,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue