#![no_main] extern crate get_env; extern crate serde_json; #[no_mangle] pub extern "C" fn main(_argc: i32, _argv: *const *const u8) -> i32 { println!( "{}", serde_json::to_string(&(get_env::args_os(), get_env::vars_os())).unwrap() ); 0 }