Closed
Description
I want to be able to use rustpkg
to build current project like this:
[mutex:rust/test]% cat src/hellobin/main.rs
extern mod hello;
fn main() {
hello::world();
}
[mutex:rust/test]% rustpkg install github.com/steveklabnik/hello
WARNING: The Rust package manager is experimental and may be unstable
(...)
note: Installed package github.com/steveklabnik/hello-0.1 to /home/dpc/lab/rust/test/.rust
[mutex:rust/test]% rustpkg build hellobin
WARNING: The Rust package manager is experimental and may be unstable
task <unnamed> failed at 'Unhandled condition: nonexistent_package: (package_id::PkgId{path: std::path::PosixPath{is_absolute: false, components: ~[~"hello"]}, short_name: ~"hello", version: NoVersion}, ~"supplied path for package dir does not exist, and couldn't interpret it as a URL fragment")', /home/dpc/opt/src/rust/src/libstd/condition.rs:131
task <unnamed> failed at 'receiving on closed channel', /home/dpc/opt/src/rust/src/libstd/rt/comm.rs:188
rustc
version works as expected:
[mutex:rust/test]% rustc src/hellobin/main.rs
[mutex:rust/test]%
So, I'd expect rustpkg build hellobin
to work as well and just trigger corresponding rustc
command.
Metadata
Metadata
Assignees
Labels
No labels