Add tarfile module

This commit is contained in:
Shunsuke Shibayama 2022-10-19 17:59:20 +09:00
parent c73b4a34c5
commit 6613fd85c2
2 changed files with 14 additions and 2 deletions

View file

@ -6,7 +6,7 @@ use std::process::Command;
use crate::serialize::get_magic_num_from_bytes;
#[cfg(unix)]
pub const BUILTIN_PYTHON_MODS: [&str; 14] = [
pub const BUILTIN_PYTHON_MODS: [&str; 15] = [
"glob",
"http",
"importlib",
@ -19,11 +19,12 @@ pub const BUILTIN_PYTHON_MODS: [&str; 14] = [
"socket",
"subprocess",
"sys",
"tarfile",
"time",
"urllib",
];
#[cfg(not(unix))]
pub const BUILTIN_PYTHON_MODS: [&str; 13] = [
pub const BUILTIN_PYTHON_MODS: [&str; 14] = [
"glob",
"http",
"importlib",
@ -35,6 +36,7 @@ pub const BUILTIN_PYTHON_MODS: [&str; 13] = [
"socket",
"subprocess",
"sys",
"tarfile",
"time",
"urllib",
];