Skip to content

Commit 851d2f7

Browse files
committed
Fill in some missing header dependencies related to array and uintptr_t
1 parent a0b5fcb commit 851d2f7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

gen/src/builtin.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ pub(super) fn write(out: &mut OutFile) {
5555
}
5656

5757
if builtin.rust_str {
58+
include.array = true;
5859
include.cstdint = true;
5960
include.string = true;
6061
builtin.friend_impl = true;
@@ -64,6 +65,7 @@ pub(super) fn write(out: &mut OutFile) {
6465
include.algorithm = true;
6566
include.array = true;
6667
include.cstddef = true;
68+
include.cstdint = true;
6769
include.initializer_list = true;
6870
include.iterator = true;
6971
include.new = true;
@@ -75,7 +77,9 @@ pub(super) fn write(out: &mut OutFile) {
7577
}
7678

7779
if builtin.rust_slice {
80+
include.array = true;
7881
include.cstddef = true;
82+
include.cstdint = true;
7983
include.iterator = true;
8084
include.type_traits = true;
8185
builtin.friend_impl = true;

0 commit comments

Comments
 (0)