oxalica/nocargo

Package CoreFoundation-sys is not found in index

lelongg opened this issue · 1 comments

I'm trying to use nocargo to compile a crate from a workspace using serialport on linux.

This crate add the following entry to Cargo.lock.

[[package]]
name = "CoreFoundation-sys"
version = "0.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d0e9889e6db118d49d88d84728d0e964d973a5680befb5f85f55141beea5c20b"
dependencies = [
 "libc",
 "mach 0.1.2",
]

This does not prevent classic builds from succeeding but nocargo fails with error: Package CoreFoundation-sys is not found in index.

Minimal reproduction example: https://github.com/lelongg/nocargo-issue-9

Fixed in c2ec828