mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-02 19:39:49 +09:00
feat: impl Detail option for not set SIG_INT
This commit is contained in:
@@ -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