1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
//! Build script for `stator_jse`.
//!
//! Emits two internal cfgs:
//!
//! - `stator_baseline_jit_x86_64` — set when the target supports the Stator
//! baseline JIT.
//! - `stator_maglev_jit_x86_64` — set when the target supports the Stator
//! Maglev JIT.
//!
//! Both tiers are currently enabled on `target_arch = "x86_64"` for Unix and
//! Windows. The Turbofan tier continues to gate on
//! `cfg(all(target_arch = "x86_64", unix))` independently.
//!
//! Centralising the predicates here keeps the source tree readable: instead
//! of repeating `cfg(all(target_arch = "x86_64", any(unix, windows)))` in
//! hundreds of call sites, the source uses `cfg(stator_baseline_jit_x86_64)`
//! / `cfg(stator_maglev_jit_x86_64)`.