返回 CodeWhale
build.rs
根目录 / crates / telemetry / build.rs
1 //! Emits `CODEWHALE_RELEASE_BUILD_SHA`, and only that.
2 //!
3 //! `option_env!` reads the environment of the crate being compiled, so this has
4 //! to live here rather than in a consumer's build script: a `rustc-env` emitted
5 //! by `crates/tui`'s build script is not visible to `crates/telemetry`.
6
7 fn main() {
8 codewhale_build_support::declare_release_sha_rerun();
9 codewhale_build_support::emit_release_build_sha();
10 }
11
11 lines RUST