Skip to content
New issue

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

"rustpkg build" should use installed dependencies #5306

Closed
kud1ing opened this issue Mar 10, 2013 · 3 comments
Closed

"rustpkg build" should use installed dependencies #5306

kud1ing opened this issue Mar 10, 2013 · 3 comments
Milestone

Comments

@kud1ing
Copy link

kud1ing commented Mar 10, 2013

I have a project where pkg.rs contains #[pkg_dep(url = "git://github.com/linuxfood/rustsqlite")];.

rustpkg build has indeed compiled and installed it as ~/.rustpkg/lib/libsqlite-8bfaabce55432db9-0.1.dylib.

But rustpkg build terminates with error: can't find crate for sqlite`` though.

I'd expected rustpkg to work like Haskell's cabal where you could first "cabal install" a dependency and then "cabal build" where the dependency is used.

@graydon
Copy link
Contributor

graydon commented Mar 11, 2013

Yes. It's incomplete presently, but this should eventually work.

@ghost ghost assigned catamorphism Mar 14, 2013
@kud1ing
Copy link
Author

kud1ing commented Apr 25, 2013

Referencing meta-ticket #5677

@catamorphism
Copy link
Contributor

This should be working, but #5682 will make it more useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants