Skip to content

Commit cac4948

Browse files
authored
Update rustyline & socket2 (#6074)
* Update rustyline to 17.0.0 * Update dns-lookup and socket2 * run `cargo update`
1 parent b480d23 commit cac4948

File tree

4 files changed

+33
-87
lines changed

4 files changed

+33
-87
lines changed

Cargo.lock

Lines changed: 29 additions & 83 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ radium = "1.1.1"
204204
rand = "0.9"
205205
rand_core = { version = "0.9", features = ["os_rng"] }
206206
rustix = { version = "1.0", features = ["event"] }
207-
rustyline = "15.0.0"
207+
rustyline = "17.0.0"
208208
serde = { version = "1.0.133", default-features = false }
209209
schannel = "0.1.27"
210210
static_assertions = "1.1"

stdlib/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ rustix = { workspace = true }
104104

105105
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
106106
gethostname = "1.0.2"
107-
socket2 = { version = "0.5.8", features = ["all"] }
108-
dns-lookup = "2"
107+
socket2 = { version = "0.6.0", features = ["all"] }
108+
dns-lookup = "2.1"
109109
openssl = { version = "0.10.72", optional = true }
110110
openssl-sys = { version = "0.9.80", optional = true }
111111
openssl-probe = { version = "0.1.5", optional = true }

vm/src/readline.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ mod rustyline_readline {
117117
Err(ReadlineError::Interrupted) => ReadlineResult::Interrupt,
118118
Err(ReadlineError::Eof) => ReadlineResult::Eof,
119119
Err(ReadlineError::Io(e)) => ReadlineResult::Io(e),
120-
Err(ReadlineError::WindowResized) => continue,
120+
Err(ReadlineError::Signal(_)) => continue,
121121
Err(e) => ReadlineResult::Other(e.into()),
122122
};
123123
}

0 commit comments

Comments
 (0)