mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 00:49:42 +08:00
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
10 lines
335 B
Rust
10 lines
335 B
Rust
fn main() {
|
|
// Set thread stack size to 8 MiB for debug builds
|
|
// Reference: https://doc.rust-lang.org/std/thread/#stack-size
|
|
#[cfg(debug_assertions)]
|
|
println!("cargo:rustc-env=RUST_MIN_STACK=8388608"); // 8 * 1024 * 1024 = 8 MiB
|
|
|
|
#[cfg(feature = "vergen")]
|
|
router_env::vergen::generate_cargo_instructions();
|
|
}
|