windows cargo run sample demo fail
when use cargo run command, will run fail please help me,env: win
code only 10 lines use async_trait::async_trait; use pingora::prelude::*; use std::sync::Arc;
fn main() { println!("Hello, Gateway!"); let mut server = Server::new(None).unwrap(); server.bootstrap(); server.run_forever(); }
===========================
611 | CString::new(path.into_os_string().into()).map_err(|_| ErrorKind::PathContainsNul) | ~~~~
Some errors have detailed explanations: E0308, E0412, E0425, E0433, E0599.
For more information about an error, try rustc --explain E0308.
error: could not compile daemonize (lib) due to 50 previous errors
warning: build failed, waiting for other jobs to finish...
Excuse me, can't such a simple program run on Windows? Is there something wrong with my environment? Can you help me? (I don't want to use things like WSL.)
I just saw this picture and I'm really disappointed. I don't like Mac and wsl and ...
It is not available even on wsl