mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
feat: impl Detail option for not set SIG_INT
This commit is contained in:
1 parent
daa9f116d0
commit
763eaed2af
1 file changed
+3
@@ -245,6 +245,9 @@ fn settings_from(matches: &ArgMatches) -> (Settings, RunMode) {
|
||||
if name == "warn_default_encoding" {
|
||||
warn_default_encoding = true
|
||||
}
|
||||
if name == "no_sig_int" {
|
||||
settings.no_sig_int = true;
|
||||
}
|
||||
let value = parts.next().map(ToOwned::to_owned);
|
||||
(name, value)
|
||||
}));
|
||||
|
||||
Reference in new issue
Block a user