tedfordgif

Results 8 comments of tedfordgif

@andschwa this may not be that helpful, but at least on Windows 10 it looks like you need both the (registry or GP) and the manifest setting. See "second gate"...

@BurntSushi, it looks like this probably belongs in rustc: [librustc_trans/back/linker.rs](https://github.com/rust-lang/rust/blob/d3518058e2d47ec04aa8b9756b5d4398bce19faf/src/librustc_trans/back/linker.rs#L412). You need to pass [/MANIFEST](https://docs.microsoft.com/en-us/cpp/build/reference/manifest-create-side-by-side-assembly-manifest) and [/MANIFESTINPUT:manifest.xml](https://msdn.microsoft.com/en-us/library/dn195770.aspx) to link.exe. The manifest.xml file should look something like this: ``` true ```

Glad to report that this is a very easy fix. Prerequisite: Set registry key Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem: LongPathsEnabled to 1. Then start a new powershell (it needs to be able to find...

@BurntSushi It isn't a workaround, it is the Right Way, at least for now, 'cuz Windows.

@andschwa, see my previous PS session that makes it pretty clear the manifest is a requirement. Also see the links to blog posts that clarify that you need _both_ the...

@BurntSushi I agree it is a workaround, didn't really mean to quibble. Another important consideration is that only some of the API supports the long path names, at least according...

@andschwa Thanks for the follow-up and details.

There are many ways to get this working in the meantime. Here's my (terrible) solution: ```php function modify_wp_rocket_cloudflare_http_request_args( $args, $url ) { if (str_starts_with($url, 'https://api.cloudflare.com/')) { foreach ($args['headers'] as $header...