Skip to content

Commit

Permalink
remove os dependency for now
Browse files Browse the repository at this point in the history
  • Loading branch information
codekansas committed Nov 3, 2024
1 parent ee0a4ea commit f2eb02d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion kscaleos/bindings/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pyo3 = { version = ">= 0.21.0", features = ["extension-module"] }
pyo3-stub-gen = ">= 0.6.0"

# Other packages in the workspace.
kscaleos = { path = "../kscaleos" }
# kscaleos = { path = "../kscaleos" }

[[bin]]

Expand Down
5 changes: 3 additions & 2 deletions kscaleos/bindings/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use kscaleos::hello_world as kscaleos_hello_world;
// use kscaleos::hello_world as kscaleos_hello_world;
use pyo3::prelude::*;
use pyo3::{wrap_pyfunction, PyResult};
use pyo3_stub_gen::define_stub_info_gatherer;
Expand All @@ -7,7 +7,8 @@ use pyo3_stub_gen::derive::gen_stub_pyfunction;
#[gen_stub_pyfunction]
#[pyfunction]
pub fn hello_world() -> PyResult<()> {
kscaleos_hello_world();
// kscaleos_hello_world();
println!("Hello, world!");
Ok(())
}

Expand Down

0 comments on commit f2eb02d

Please sign in to comment.