Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] rust case insensitive fs support #59785

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/librustdoc/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,9 @@ pub struct RenderOptions {
pub generate_search_filter: bool,
/// Option (disabled by default) to generate files used by RLS and some other tools.
pub generate_redirect_pages: bool,
/// Option (disabled by default) to generate file with names that won't crate conflicts
/// on case insensitive file systems.
pub case_insensitive: bool,
}

impl Options {
Expand Down Expand Up @@ -431,6 +434,7 @@ impl Options {

let show_coverage = matches.opt_present("show-coverage");
let document_private = matches.opt_present("document-private-items");
let case_insensitive = matches.opt_present("case-insensitive");

let default_passes = if matches.opt_present("no-defaults") {
passes::DefaultPassOption::None
Expand Down Expand Up @@ -508,6 +512,7 @@ impl Options {
markdown_playground_url,
generate_search_filter,
generate_redirect_pages,
case_insensitive,
}
})
}
Expand Down
Loading