Closed
Description
I'm currently seeing all builds failing on the latest nightly Rust with:
error: Rust build failed; unable to find any cdylib or dylib build artifacts
This error comes from: https://github.com/PyO3/setuptools-rust/blob/main/setuptools_rust/build.py#L301-L310
The cause appears to be that the format of the package_id
variable changed. On stable, package_id
for me is: cryptography-rust 0.1.0 (path+file:///Users/alex_gaynor/projects/cryptography/src/rust)
, while on nightly, the package_id
is path+file:///Users/alex_gaynor/projects/cryptography/src/rust#cryptography-rust@0.1.0
.
However, the format of package IDs found in the cargo JSON build output is unchanged, which results in _find_cargo_artifacts
no longer matching things.
I'm not sure if this is a cargo bug or a setuptools-rust bug.
Metadata
Metadata
Assignees
Labels
No labels