hydro_lang/compile/
mod.rs

1//! Hydro compilation: the Hydro IR, Hydro to DFIR translation, and traits for deployment targets.
2
3#[expect(missing_docs, reason = "TODO")]
4pub mod ir;
5
6#[cfg(feature = "build")]
7#[cfg_attr(docsrs, doc(cfg(feature = "build")))]
8#[expect(missing_docs, reason = "TODO")]
9pub mod built;
10
11#[cfg(feature = "build")]
12#[cfg_attr(docsrs, doc(cfg(feature = "build")))]
13#[expect(missing_docs, reason = "TODO")]
14pub mod compiled;
15
16#[cfg(feature = "build")]
17#[cfg_attr(docsrs, doc(cfg(feature = "build")))]
18#[expect(missing_docs, reason = "TODO")]
19pub mod deploy;
20
21#[cfg(feature = "build")]
22#[cfg_attr(docsrs, doc(cfg(feature = "build")))]
23#[expect(missing_docs, reason = "TODO")]
24pub mod deploy_provider;
25
26#[expect(missing_docs, reason = "TODO")]
27pub mod builder;
28
29#[cfg(stageleft_runtime)]
30#[cfg(feature = "trybuild")]
31#[cfg_attr(docsrs, doc(cfg(feature = "trybuild")))]
32#[expect(missing_docs, reason = "TODO")]
33#[cfg_attr(
34    not(any(feature = "deploy", feature = "sim")),
35    expect(
36        dead_code,
37        reason = "\"trybuild\" feature should be enabled by \"deploy\" and/or \"sim\""
38    )
39)]
40pub mod trybuild;
41
42#[cfg(stageleft_runtime)]
43#[cfg(feature = "trybuild")]
44#[cfg_attr(docsrs, doc(cfg(feature = "trybuild")))]
45pub use trybuild::generate::init_test;