mirror of
				https://github.com/edera-dev/krata.git
				synced 2025-11-03 23:29:39 +00:00 
			
		
		
		
	hypha: build init with musl, trace logging, and now map console optionally
This commit is contained in:
		@ -5,7 +5,7 @@ use std::env;
 | 
			
		||||
 | 
			
		||||
fn main() -> Result<()> {
 | 
			
		||||
    env::set_var("RUST_BACKTRACE", "1");
 | 
			
		||||
    env_logger::Builder::from_env(Env::default().default_filter_or("warn")).init();
 | 
			
		||||
    env_logger::Builder::from_env(Env::default().default_filter_or("trace")).init();
 | 
			
		||||
    if env::var("HYPHA_UNSAFE_ALWAYS_ALLOW_INIT").unwrap_or("0".to_string()) != "1" {
 | 
			
		||||
        let pid = std::process::id();
 | 
			
		||||
        if pid > 3 {
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user