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
46
47
48
49
50
51
52
53
54
55
//! §5: "Compiler version 1.0.0; module format version 1."
//!
//! The module-format-version half is already carried by the DIGS blob header
//! byte (== 1). This test pins the COMPILER-VERSION half the spec mandates: the
//! compiler must carry the exact version string "1.0.0" and a successful
//! compilation must record that version in its outcome.
//!
//! NOTE (#1270): `COMPILER_VERSION` is DELIBERATELY DECOUPLED from the crate
//! version. The members were collapsed into the single `dig-capsule` crate
//! (v0.3.0); `COMPILER_VERSION` stays the frozen literal `"1.0.0"` because it is
//! byte-recorded into every compile outcome (SPEC §5). The old assertions that
//! tied it to `env!("CARGO_PKG_VERSION")` only held while the crate version WAS
//! 1.0.0 and are removed.
use ;
use crate;