kushaldas / johnnycanencrypt

Python module for OpenPGP written in Rust.
GNU Lesser General Public License v3.0
51 stars 9 forks source link

master fails to build on Mac #76

Closed kushaldas closed 2 years ago

kushaldas commented 2 years ago
Compiling johnnycanencrypt v0.6.0 (/Users/kdas/Documents/allcode/johnnycanencrypt) error[E0369]: binary operation == cannot be applied to type TSK<'_> --> src/lib.rs:955:22 955 if cert.as_tsk() == newcert.as_tsk() { ------------- ^^ ---------------- TSK<'_>
TSK<'_>

error: aborting due to previous error> ] 169/170: johnnycanencrypt

For more information about this error, try rustc --explain E0369.

error: could not compile johnnycanencrypt due to 2 previous errors 💥 maturin failed Caused by: Failed to build a native library through cargo Caused by: Cargo build finished with "exit status: 101": cargo rustc --message-format json --manifest-path Cargo.toml --lib -- -C link-arg=-undefined -C link-arg=dynamic_lookup -C link-args=-Wl,-install_name,@rpath/johnnycanencrypt.cpython-37m-darwin.so

kushaldas commented 2 years ago

This was due to me not updating dependencies. cargo update fixed this problem.