aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamson <16504129+sagudev@users.noreply.github.com>2023-09-10 10:51:24 +0200
committerGitHub <noreply@github.com>2023-09-10 08:51:24 +0000
commitc079acb3c31e695e9f16b96b9bd61b2a1c182796 (patch)
tree955180a85e800c8e6de7f70decf6a3cd7b2a681a
parent56976efaa2ff0f11d954625c98841517830a5ae8 (diff)
downloadservo-c079acb3c31e695e9f16b96b9bd61b2a1c182796.tar.gz
servo-c079acb3c31e695e9f16b96b9bd61b2a1c182796.zip
Pass `--document-private-items` as rustdoc flag (#30327)
* Pass `--document-private-items` as rustdoc flag This was removed in https://github.com/servo/servo/pull/29895, but as [noted on zulip](https://servo.zulipchat.com/#narrow/stream/263398-general/topic/Documentation.20missing.20for.20some.20script.20types.3F), this caused some docs to be missing. * rustdocflags in config.toml
-rw-r--r--.cargo/config.toml (renamed from .cargo/config)3
1 files changed, 3 insertions, 0 deletions
diff --git a/.cargo/config b/.cargo/config.toml
index ef627b28bab..c78db7978d5 100644
--- a/.cargo/config
+++ b/.cargo/config.toml
@@ -39,3 +39,6 @@ linker = "lld-link.exe"
[env]
MACOSX_DEPLOYMENT_TARGET = "10.10"
+
+[build]
+rustdocflags = ["--document-private-items"] \ No newline at end of file