steveklabnik/rustdoc

Flag: configuration flags

Offen

#134 geöffnet am 10.08.2017

 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen) (22 Forks)github user discovery
E-Mediumbackendhelp wantedquestion

Repository-Metriken

Stars
 (104 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

This issue is part of https://github.com/steveklabnik/rustdoc/issues/125

--cfg: passing configuration flags

Using this flag looks like this:

$ rustdoc src/lib.rs --cfg feature="foo"

This flag accepts the same values as rustc --cfg, and uses it to configure compilation. The example above uses feature, but any of the cfg values are acceptable.


Should we keep this flag or not?

Contributor Guide