-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
[rustdoc] re-add --disable-minification #129908
Copy link
Copy link
Closed
Labels
C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
the line to change would be in
write_shared.rs:154:cx.shared.fs.write(filename, f.minified())this should use
f.bytesinstead off.minified()if the--no-minifyflag is specified.this flag would mostly be useful for debugging rustdoc itself, allowing js and css errors to accurately report line numbers.