nabijaczleweli / rust-embed-resource

A Cargo build script library to handle compilation and inclusion of Windows resources, in the most resilient fashion imaginable
MIT License
166 stars 29 forks source link

Avoid llvm-rc error with paths starting with /U #44

Closed roblabla closed 2 years ago

roblabla commented 2 years ago

When building from MacOS, the path will often start with /Users. Unfortunately, llvm-rc treats /U as an argument.

To avoid this, we need to pass -- to disable argument parsing in llvm-rc, so it understands to treat it as an input.

nabijaczleweli commented 2 years ago

Released as v1.7.2, backported as v1.6.8; thanks!

roblabla commented 2 years ago

Thanks, and thanks for the backport :).