mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-11-01 02:57:02 +08:00 
			
		
		
		
	 c333fb7fc0
			
		
	
	c333fb7fc0
	
	
	
		
			
			Co-authored-by: hrithikeshvm <vmhrithikesh@gmail.com> Co-authored-by: Arun Raj M <jarnura47@gmail.com>
		
			
				
	
	
		
			10 lines
		
	
	
		
			335 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			335 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| fn main() {
 | |
|     // Set thread stack size to 4 MiB for debug builds
 | |
|     // Reference: https://doc.rust-lang.org/std/thread/#stack-size
 | |
|     #[cfg(debug_assertions)]
 | |
|     println!("cargo:rustc-env=RUST_MIN_STACK=6291456"); // 6 * 1024 * 1024 = 6 MiB
 | |
| 
 | |
|     #[cfg(feature = "vergen")]
 | |
|     router_env::vergen::generate_cargo_instructions();
 | |
| }
 |