You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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...
The text was updated successfully, but these errors were encountered:
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.)
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 errorswarning: build failed, waiting for other jobs to finish...
The text was updated successfully, but these errors were encountered: