mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-05-14 19:48:35 -07:00
global: per crate build.rs
This commit is contained in:
8
crates/brk_mcp/build.rs
Normal file
8
crates/brk_mcp/build.rs
Normal file
@@ -0,0 +1,8 @@
|
||||
fn main() {
|
||||
let profile = std::env::var("PROFILE").unwrap_or_default();
|
||||
|
||||
if profile == "release" {
|
||||
println!("cargo:rustc-flag=-C");
|
||||
println!("cargo:rustc-flag=target-cpu=native");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user