Skip to content

Commit

Permalink
make work on win
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfv committed Feb 8, 2024
1 parent eae83a1 commit 3c631df
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,7 @@ mod test {
async fn make_simple_server(
package_name: &str,
) -> anyhow::Result<(Url, JoinHandle<Result<(), std::io::Error>>)> {
let addr = SocketAddr::new([127, 0, 0, 1].into(), 0);
let addr = SocketAddr::new([0, 0, 0, 0].into(), 0);
let listener = tokio::net::TcpListener::bind(&addr).await.unwrap();
let address = listener.local_addr()?;

Expand Down

0 comments on commit 3c631df

Please sign in to comment.