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
//! `cxx` fault-injection probes for the trap tests (`test-shims` only).
//!
//! A separate `#[cxx::bridge]` from the production [`bridge`](crate::bridge) so nothing here
//! reaches a normal build: the module is `mod`-gated in `lib.rs` and its C++ side is compiled
//! only when `build.rs` sees the feature. A per-function `#[cfg]` on the production bridge would
//! not do: `cxx-build`'s cfg evaluator matches feature names case-insensitively but not across
//! `-`/`_`, so it never sees the hyphenated `test-shims` and would drop the C++ shim, leaving the
//! symbol undefined at link. Gating the whole module sidesteps that.
//!
//! Shares the `idakit_cxx` namespace with the production bridge, so the generated shim symbols
//! sit in the same family; the hand-written bodies and the `guarded<>` entry live in
//! `facade/probe_cxx.cc`.
pub use ;