]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #37775 - alexcrichton:try-fix-dox, r=brson
authorbors <bors@rust-lang.org>
Tue, 15 Nov 2016 02:12:26 +0000 (18:12 -0800)
committerGitHub <noreply@github.com>
Tue, 15 Nov 2016 02:12:26 +0000 (18:12 -0800)
rustbuild: Tweak default rule inclusion

If a rule is flagged with `default(true)` then the pseudo-rule `default:foo`
will include that. If a rule is also flagged with `.host(true)`, however, then
the rule shouldn't be included for targets that aren't in the host array. This
adds a filter to ensure we don't pull in host rules for targets by accident.


Trivial merge