Skip to content

Commit ea2bc2c

Browse files
committed
add new constants for macOS Big Sur
1 parent 3fc0015 commit ea2bc2c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/unix/bsd/apple/mod.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2846,7 +2846,9 @@ pub const HW_L3CACHESIZE: ::c_int = 22;
28462846
pub const HW_TB_FREQ: ::c_int = 23;
28472847
pub const HW_MEMSIZE: ::c_int = 24;
28482848
pub const HW_AVAILCPU: ::c_int = 25;
2849-
pub const HW_MAXID: ::c_int = 26;
2849+
pub const HW_TARGET: ::c_int = 26;
2850+
pub const HW_PRODUCT: ::c_int = 27;
2851+
pub const HW_MAXID: ::c_int = 28;
28502852
pub const USER_CS_PATH: ::c_int = 1;
28512853
pub const USER_BC_BASE_MAX: ::c_int = 2;
28522854
pub const USER_BC_DIM_MAX: ::c_int = 3;

0 commit comments

Comments
 (0)