We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compiling rust_helper v0.1.0 (/Users/user/path/to/rust_helper) src/lib.rs:116:19: warning: unused imports: `File` and `self` src/lib.rs:117:9: warning: unused import: `std::io::Write` src/lib.rs:150:13: warning: unused variable: `cacher`: help: if this is intentional, prefix it with an underscore: `_cacher` warning: `rust_helper` (lib test) generated 3 warnings (run `cargo fix --lib -p rust_helper --tests` to apply 2 suggestions) Finished `test` profile [unoptimized + debuginfo] target(s) in 0.97s Running unittests src/lib.rs (target/debug/deps/rust_helper-ba11d862d6509705) dyld[58402]: symbol not found in flat namespace '_PyExc_BaseException' error: test failed, to rerun pass `--lib` Caused by: process didn't exit successfully: `/Users/user/path/to/rust_helper/target/debug/deps/rust_helper-ba11d862d6509705` (signal: 6, SIGABRT: process abort signal)
.cargo/config.toml
[target.x86_64-apple-darwin] rustflags = [ "-C", "link-arg=-undefined", "-C", "link-arg=dynamic_lookup", ] [target.aarch64-apple-darwin] rustflags = [ "-C", "link-arg=-undefined", "-C", "link-arg=dynamic_lookup", ]
Cargo.toml
[features] extension-module = ["pyo3/extension-module"] default = ["extension-module"]
cargo test --no-default-features
This error is a next step that I was able to achieve following to suggestions mentioned here in different issues.
But this bit aren't going anywhere, so is there any workaround to fix it?
No response
macOS 15.2
python --version
Python 3.13
rustc --version
rustc 1.83.0-nightly (2bd1e894e 2024-09-26)
0.23.3
brew
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Bug Description
.cargo/config.toml
Cargo.toml
cargo test --no-default-features
Steps to Reproduce
This error is a next step that I was able to achieve following to suggestions mentioned here in different issues.
But this bit aren't going anywhere, so is there any workaround to fix it?
Backtrace
No response
Your operating system and version
macOS 15.2
Your Python version (
python --version
)Python 3.13
Your Rust version (
rustc --version
)rustc 1.83.0-nightly (2bd1e894e 2024-09-26)
Your PyO3 version
0.23.3
How did you install python? Did you use a virtualenv?
brew
Additional Info
No response
The text was updated successfully, but these errors were encountered: