Skip to content

Commit b7a7b6b

Browse files
committed
remove warnings from wasm build
1 parent 0e00d23 commit b7a7b6b

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎vm/src/stdlib/signal.rs‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,12 @@ pub(crate) fn make_module(vm: &VirtualMachine) -> PyRef<PyModule> {
1111

1212
#[pymodule]
1313
pub(crate) mod _signal {
14+
#[cfg(any(unix, windows))]
1415
use crate::{
1516
convert::{IntoPyException, TryFromBorrowedObject},
16-
signal, Py, PyObjectRef, PyResult, VirtualMachine,
17+
Py,
1718
};
19+
use crate::{signal, PyObjectRef, PyResult, VirtualMachine};
1820
use std::sync::atomic::{self, Ordering};
1921

2022
#[cfg(any(unix, windows))]

0 commit comments

Comments
 (0)