Commit e91141f
Add Arch enum class and kBuildArch constexpr to detection.h
Summary:
Expose the build target architecture as a typed enum and compile-time
constant so codegen code can query it without preprocessor guards.
Reviewed By: yoney
Differential Revision: D99491341
fbshipit-source-id: ead21b6a575b8e5bf1255d9ddd5963c45594cb101 parent 761445c commit e91141f
1 file changed
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
5 | 14 | | |
6 | 15 | | |
7 | 16 | | |
8 | 17 | | |
9 | 18 | | |
10 | 19 | | |
| 20 | + | |
11 | 21 | | |
12 | 22 | | |
13 | 23 | | |
14 | 24 | | |
| 25 | + | |
15 | 26 | | |
16 | 27 | | |
17 | 28 | | |
18 | 29 | | |
| 30 | + | |
19 | 31 | | |
20 | 32 | | |
| 33 | + | |
| 34 | + | |
0 commit comments