hi fellow rusters, 
I understand that rustpkg is under heavy development and not complete. Having 
said that, I'd like to know if the following error (w.r.t. rustpkg finding 
external crates and linking correctly with them) is within it's normal 
operating parameters :). 
The rust code in question: https://github.com/smadhueagle/rustlings(It is a 
series of example rust programs)The external crate that it refers to: 
https://github.com/smadhueagle/rustils
Following the steps in Readme.md on the rustlings repo and building the 
simplespawn crate results in the following error:
kl-13572:rustlings smadhueagle$ rustpkg build simplespawnWARNING: The Rust 
package manager is experimental and may be unstabletask <unnamed> failed at 
'Unhandled condition: nonexistent_package: (package_id::PkgId{path: 
std::path::PosixPath{is_absolute: false, components: ~[~"rustils"]}, 
short_name: ~"rustils", version: NoVersion}, ~"supplied path for package dir 
does not exist, and couldn't interpret it as a URL fragment")', 
/private/tmp/rust-nVcw/src/libstd/condition.rs:43task <unnamed> failed at 
'killed by linked failure', /private/tmp/rust-nVcw/src/libstd/rt/kill.rs:627
However, when I do the following, everything seems to work and rustc seems to 
find and link with the rustil module from the .rust directory just fine ... 
kl-13572:rustlings smadhueagle$ rustc src/simplespawn/main.rs warning: no debug 
symbols in executable (-arch x86_64)kl-13572:rustlings smadhueagle$
Is this behavior normal ? rustpkg works fine if there are no external modules 
being referred to from the source.
Thanks in advance for your time !
smadhueagle
                                          
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to