-
Notifications
You must be signed in to change notification settings - Fork 89
Compiling tests fails #11
Comments
Oh, neat. I didn't realize Cargo automatically checked examples for me. (I've still been using I don't really know how to use @alexcrichton Any ideas? Is this possible yet? |
This is little unfortunate, there's not necessarily a great way to express this as you'll end up with in theory some circular dependencies. That being said, if you add this to your top-level
This in theory induces a circular dependency of docopt with itself, but it turns out that your Another alternative would be to have |
Ah ha! Splitting the examples makes a lot of sense. I'll probably go that route. Seems simplest. So when I do that, a new problem arises. When I |
Hmm, I can't seem to get any kind of
Cargo.toml: [package]
name = "docopt_macros"
version = "0.6.0"
authors = ["Andrew Gallant <jamslam@gmail.com>"]
[[lib]]
name = "docopt_macros"
path = "src/macro.rs"
plugin = true
[dependencies.docopt]
# git = "https://github.com/BurntSushi/docopt.rs"
path = "/home/andrew/data/projects/docopt.rs" |
Hm, I think that's a bug in rustdoc, I'll look into it! |
cargo* |
Should be fixed in master now! |
Great, that seems to fix the |
After cloning the repository, I tried to run
cargo test
, but it fails withThe same problem occurs while running directly rustc:
rustc -L ./build examples/add.rs
The text was updated successfully, but these errors were encountered: