Closed BurntSushi closed 9 years ago
Same happening here with peg_syntax_ext
:
test result: ok. 45 passed; 0 failed; 0 ignored; 0 measured
Doc-tests config
Running `rustdoc --test /home/filipe/dev/rust-dev/rust-config/src/lib.rs --crate-name config -L dependency=/home/filipe/dev/rust-dev/rust-config/target/debug/deps --extern config=/home/filipe/dev/rust-dev/rust-config/target/debug/libconfig-9b5fbedce7a5072c.rlib`
/home/filipe/dev/rust-dev/rust-config/src/lib.rs:4:11: 4:25 error: can't find crate for `peg_syntax_ext`
/home/filipe/dev/rust-dev/rust-config/src/lib.rs:4 #![plugin(peg_syntax_ext)]
^~~~~~~~~~~~~~
error: aborting due to previous error
thread '<unnamed>' panicked at 'Box<Any>', /home/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/libsyntax/diagnostic.rs:153
thread '<main>' panicked at 'child thread None panicked', /home/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/libstd/thread/mod.rs:703
Tested with rustc 1.0.0-nightly (93f7fe32d 2015-04-10) (built 2015-04-11)
.
Travis log: https://travis-ci.org/filipegoncalves/rust-config/builds/58076955
I don't know if this is a Cargo bug or a rustdoc bug, but my guess is that Cargo isn't passing the right flags to rustdoc? Not sure. Anyway, here's my
Cargo.toml
andsrc/lib.rs
. And the result:Version info: