#I want to know the current architecture my zig code is running on ?
1 messages · Page 1 of 1 (latest)
@import("builtin").cpu.arch
might change to using builtin.target.cpu.arch though https://codeberg.org/ziglang/zig/pulls/35593, unclear
Two questions but is that an enum, i want to send my own values so i will switch on it if it is
Is this valid in 0.17 ?
its an enum and yea its valid in 0.17