1
0
mirror of https://github.com/BurntSushi/ripgrep.git synced 2024-12-07 11:13:17 +02:00
ripgrep/pkg/windows
Andrew Gallant db6bb21a62 windows: attempt to enable long path support for MSVC targets
See the README and comments in the build.rs. Basically, this embeds an
XML file that I guess is a way of setting configuration knobs on
Windows. One of those knobs is enabling long path support. You still
need to enable it in your registry (lol), but this will handle the other
half of it.

Fixes #364, Closes #2049
2023-07-08 18:52:42 -04:00
..
Manifest.xml windows: attempt to enable long path support for MSVC targets 2023-07-08 18:52:42 -04:00
README.md windows: attempt to enable long path support for MSVC targets 2023-07-08 18:52:42 -04:00

This directory contains a Windows manifest for various Windows-specific settings.

The main thing we enable here is longPathAware, which permits paths of the form C:\ to be longer than 260 characters.

The approach taken here was modeled off of a similar change for rustc. In particular, this manifest gets linked into the final binary. Those linker arguments are applied in build.rs.

This currently only applies to MSVC builds. If there's an easy way to make this apply to GNU builds as well, then patches are welcome.