Compare commits
11 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
ce3d8de7cf | ||
c3bcf101d4 | |||
0d5be81ef4 | |||
dd8bf1a35e | |||
cc18586363 | |||
e1a2f1239d | |||
0b6a9bd89b | |||
9b0d37b1f0 | |||
543a648af8 | |||
780d33c8a7 | |||
e13d753329 |
1
Cargo.lock
generated
1
Cargo.lock
generated
@ -646,7 +646,6 @@ dependencies = [
|
|||||||
name = "nac3artiq"
|
name = "nac3artiq"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"indexmap 2.7.1",
|
|
||||||
"itertools",
|
"itertools",
|
||||||
"nac3core",
|
"nac3core",
|
||||||
"nac3ld",
|
"nac3ld",
|
||||||
|
@ -9,7 +9,6 @@ name = "nac3artiq"
|
|||||||
crate-type = ["cdylib"]
|
crate-type = ["cdylib"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
indexmap = "2.7"
|
|
||||||
itertools = "0.14"
|
itertools = "0.14"
|
||||||
pyo3 = { version = "0.21", features = ["extension-module", "gil-refs"] }
|
pyo3 = { version = "0.21", features = ["extension-module", "gil-refs"] }
|
||||||
parking_lot = "0.12"
|
parking_lot = "0.12"
|
||||||
|
@ -19,7 +19,6 @@ use std::{
|
|||||||
sync::Arc,
|
sync::Arc,
|
||||||
};
|
};
|
||||||
|
|
||||||
use indexmap::IndexMap;
|
|
||||||
use itertools::Itertools;
|
use itertools::Itertools;
|
||||||
use parking_lot::{Mutex, RwLock};
|
use parking_lot::{Mutex, RwLock};
|
||||||
use pyo3::{
|
use pyo3::{
|
||||||
@ -1203,7 +1202,7 @@ impl Nac3 {
|
|||||||
string_store: Arc::new(string_store.into()),
|
string_store: Arc::new(string_store.into()),
|
||||||
exception_ids: Arc::default(),
|
exception_ids: Arc::default(),
|
||||||
deferred_eval_store: DeferredEvaluationStore::new(),
|
deferred_eval_store: DeferredEvaluationStore::new(),
|
||||||
special_ids: SpecialPythonId::default(),
|
special_ids: Default::default(),
|
||||||
llvm_options: CodeGenLLVMOptions {
|
llvm_options: CodeGenLLVMOptions {
|
||||||
opt_level: OptimizationLevel::Default,
|
opt_level: OptimizationLevel::Default,
|
||||||
target: isa.get_llvm_target_options(),
|
target: isa.get_llvm_target_options(),
|
||||||
@ -1219,8 +1218,8 @@ impl Nac3 {
|
|||||||
content_modules: &PySet,
|
content_modules: &PySet,
|
||||||
) -> PyResult<()> {
|
) -> PyResult<()> {
|
||||||
let (modules, class_ids) =
|
let (modules, class_ids) =
|
||||||
Python::with_gil(|py| -> PyResult<(IndexMap<u64, PyObject>, HashSet<u64>)> {
|
Python::with_gil(|py| -> PyResult<(HashMap<u64, PyObject>, HashSet<u64>)> {
|
||||||
let mut modules: IndexMap<u64, PyObject> = IndexMap::new();
|
let mut modules: HashMap<u64, PyObject> = HashMap::new();
|
||||||
let mut class_ids: HashSet<u64> = HashSet::new();
|
let mut class_ids: HashSet<u64> = HashSet::new();
|
||||||
|
|
||||||
let id_fn = PyModule::import(py, "builtins")?.getattr("id")?;
|
let id_fn = PyModule::import(py, "builtins")?.getattr("id")?;
|
||||||
|
Loading…
Reference in New Issue
Block a user