We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0bbdd96 commit 2149dcbCopy full SHA for 2149dcb
1 file changed
crates/capi/src/pylifecycle.rs
@@ -1,11 +1,11 @@
1
use crate::get_main_interpreter;
2
use crate::pyerrors::init_exception_statics;
3
use crate::pystate::ensure_thread_has_vm_attached;
4
+use alloc::ffi::CString;
5
use core::ffi::{c_char, c_int, c_ulong};
6
use rustpython_vm::version::{MAJOR, MICRO, MINOR, VERSION_HEX};
7
use rustpython_vm::vm::thread::ThreadedVirtualMachine;
8
use rustpython_vm::{Context, Interpreter};
-use std::ffi::CString;
9
use std::sync::{LazyLock, Mutex};
10
11
pub(crate) static MAIN_INTERP: Mutex<Option<Interpreter>> = Mutex::new(None);
0 commit comments