Add datetime

This commit is contained in:
Shunsuke Shibayama 2022-10-21 10:58:21 +09:00
parent e31d109b32
commit f99c788b85
4 changed files with 49 additions and 9 deletions

View file

@ -6,7 +6,8 @@ use std::process::Command;
use crate::serialize::get_magic_num_from_bytes;
#[cfg(unix)]
pub const BUILTIN_PYTHON_MODS: [&str; 18] = [
pub const BUILTIN_PYTHON_MODS: [&str; 19] = [
"datetime",
"glob",
"http",
"importlib",
@ -27,7 +28,8 @@ pub const BUILTIN_PYTHON_MODS: [&str; 18] = [
"zipfile",
];
#[cfg(not(unix))]
pub const BUILTIN_PYTHON_MODS: [&str; 17] = [
pub const BUILTIN_PYTHON_MODS: [&str; 18] = [
"datetime",
"glob",
"http",
"importlib",