File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 23
23
steps :
24
24
- uses : actions/checkout@v4
25
25
26
- - uses : rui314/setup-mold@f80524ca6eeaa76759b57fb78ddce5d87a20c720
26
+ - uses : rui314/setup-mold@e16410e7f8d9e167b74ad5697a9089a35126eb50
27
27
28
28
- name : Build
29
29
run : make build
38
38
steps :
39
39
- uses : actions/checkout@v4
40
40
41
- - uses : rui314/setup-mold@f80524ca6eeaa76759b57fb78ddce5d87a20c720
41
+ - uses : rui314/setup-mold@e16410e7f8d9e167b74ad5697a9089a35126eb50
42
42
43
43
- name : Check formatting and clippy
44
44
run : make lint
49
49
steps :
50
50
- uses : actions/checkout@v4
51
51
52
- - uses : rui314/setup-mold@f80524ca6eeaa76759b57fb78ddce5d87a20c720
52
+ - uses : rui314/setup-mold@e16410e7f8d9e167b74ad5697a9089a35126eb50
53
53
54
54
- name : Run unit tests
55
55
run : make test
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ impl BitField {
8
8
/// All bits are initialized to 1.
9
9
pub ( crate ) fn new ( bits : usize ) -> Self {
10
10
Self {
11
- bitfield : vec ! [ u64 :: MAX ; ( bits + 63 ) / 64 ] ,
11
+ bitfield : vec ! [ u64 :: MAX ; bits. div_ceil ( 64 ) ] ,
12
12
}
13
13
}
14
14
You can’t perform that action at this time.
0 commit comments