xref: /DragonBoot/build-scripts/dragon_boot_build/src/lib.rs (revision 0ec3a34a58ffc0a9c51a23a7ee5e7d803a0060cd)
1 #[macro_use]
2 extern crate lazy_static;
3 extern crate cc;
4 
5 mod cfiles;
6 mod constant;
7 mod utils;
8 
9 /// 运行构建
run()10 pub fn run() {
11     println!("cargo:rustc-link-search=src");
12 
13     crate::cfiles::CFilesBuilder::build();
14     // 设置链接参数
15     crate::utils::ld_scripts::setup();
16 }
17