windows: Make solana-test-validator work (#20099)
* windows: Make solana-test-validator work The important changes to get this going on Windows: * ledger lock needs to be done on a file instead of the directory * IPC service needs to use the Windows pipe naming scheme * always disable the JIT * file logging not possible yet because we can't redirect stderr, but this will change once env_logger fixes the pipe output target! * Integrate review feedback
This commit is contained in:
@ -374,7 +374,7 @@ pub fn is_host_port(string: String) -> Result<(), String> {
|
||||
|
||||
#[cfg(windows)]
|
||||
fn udp_socket(_reuseaddr: bool) -> io::Result<Socket> {
|
||||
let sock = Socket::new(Domain::ipv4(), Type::dgram(), None)?;
|
||||
let sock = Socket::new(Domain::IPV4, Type::DGRAM, None)?;
|
||||
Ok(sock)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user