cloudflare / cloudflare/pingora

windows cargo run sample demo fail

Open
#546 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
27.4k
Forks
1.7k
Avg merge
6h 22m
Merged PRs (30d)
3

Description

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...

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.