Add faulthandler to wasm32

This commit is contained in:
Jeong YunWon authored and Jeong, YunWon committed 2024-07-28 12:11:56 +09:00
1 parent 2335ca0f72
commit 48299cdd7f
1 file changed
+1 -2
+1 -2
View File
@@ -43,7 +43,6 @@ mod syslog;
mod unicodedata;
mod zlib;
#[cfg(not(target_arch = "wasm32"))]
mod faulthandler;
#[cfg(any(unix, target_os = "wasi"))]
mod fcntl;
@@ -109,6 +108,7 @@ pub fn get_module_inits() -> impl Iterator<Item = (Cow<'static, str>, StdlibInit
"_contextvars" => contextvars::make_module,
"_csv" => csv::make_module,
"_dis" => dis::make_module,
"faulthandler" => faulthandler::make_module,
"gc" => gc::make_module,
"_hashlib" => hashlib::make_module,
"_sha1" => sha1::make_module,
@@ -140,7 +140,6 @@ pub fn get_module_inits() -> impl Iterator<Item = (Cow<'static, str>, StdlibInit
{
"_multiprocessing" => multiprocessing::make_module,
"_socket" => socket::make_module,
"faulthandler" => faulthandler::make_module,
}
#[cfg(not(any(target_os = "android", target_arch = "wasm32")))]
{