-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rustdoc: Use --crate-name with --test
This ensures that the name of the crate is set from the command line for tests so the auto-injection of `extern crate <name>` in doc tests works correctly.
- Loading branch information
1 parent
8cda74c
commit 4dbe3eb
Showing
2 changed files
with
9 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4dbe3eb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from huonw
at alexcrichton@4dbe3eb
4dbe3eb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging alexcrichton/rust/rustdoc-tests = 4dbe3eb into auto
4dbe3eb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
alexcrichton/rust/rustdoc-tests = 4dbe3eb merged ok, testing candidate = 6248858
4dbe3eb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all tests pass:
success: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/635
success: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/635
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/634
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/635
success: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/632
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/633
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/632
success: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/638
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/633
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/632
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android-t/builds/635
success: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/633
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/633
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-c/builds/634
4dbe3eb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fast-forwarding master to auto = 6248858