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
Changes from 1 commit
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
Next Next commit
Start of handling case insensitive file systems
GuillaumeGomez committed Apr 6, 2019
commit 2eadfa429f2dc04d19bebe535b831b8f4595cf48
5 changes: 5 additions & 0 deletions src/librustdoc/config.rs
Original file line number Diff line number Diff line change
@@ -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 {
@@ -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
@@ -508,6 +512,7 @@ impl Options {
markdown_playground_url,
generate_search_filter,
generate_redirect_pages,
case_insensitive,
}
})
}
Loading