返回 CodeWhale
build.rs
根目录 / crates / cli / build.rs
1 use std::path::PathBuf;
2
3 fn main() {
4 let manifest_dir = PathBuf::from(env!("CARGO_MANIFEST_DIR"));
5 codewhale_build_support::declare_rerun_conditions(&manifest_dir);
6 codewhale_build_support::emit_build_version(&manifest_dir, env!("CARGO_PKG_VERSION"));
7 }
8
8 lines RUST