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
//! Runtime initialization and thread attachment.
//!
//! These symbols are exported by `libleanshared` but **not declared in
//! `lean.h`** (they are part of Lean's runtime entry-point surface, not the
//! object-ABI header). The `LEAN_HEADER_DIGEST` build check therefore does
//! not gate them; instead they are protected by `REQUIRED_SYMBOLS` plus
//! `tests/linkage.rs`, which fails to link if any are missing.
use c_char;
unsafe extern "C"