Skip to content

Commit

Permalink
patch: remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Pedro Arruda committed Aug 13, 2024
1 parent d1f4cae commit 190def2
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 14 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion cjyafn/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cjyafn"
version = "0.3.0"
version = "0.3.1"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion jyafn-python/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "jyafn-python"
version = "0.3.0"
version = "0.3.1"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion jyafn/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "jyafn"
version = "0.3.0"
version = "0.3.1"
edition = "2021"
authors = ["Pedro Arruda <[email protected]>"]
description = "Computational graphs for Data Science that compile to machine code"
Expand Down
10 changes: 2 additions & 8 deletions jyafn/src/extension.rs
Original file line number Diff line number Diff line change
Expand Up @@ -314,15 +314,9 @@ impl Extension {
unsafe {
// Safety: we can only pray nobody loads anything funny here. However, it's
// not my responsibilty what kind of crap you install in your computer.
println!("starting to load {path:?}");
let library = Library::new(path).inspect_err(|err| println!("oops:{err}"))?;
println!("aisndoa");
let extension_init: Symbol<ExtensionInit> = library
.get(EXTENSION_INIT_SYMBOL)
.inspect_err(|err| println!("oops:{err}"))?;
println!("init is not null");
let library = Library::new(path)?;
let extension_init: Symbol<ExtensionInit> = library.get(EXTENSION_INIT_SYMBOL)?;
let outcome = extension_init();
println!("init is not null");
if outcome.is_null() {
return Err(format!("library {path:?} failed to load").into());
}
Expand Down

0 comments on commit 190def2

Please sign in to comment.