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

v.builder: write an UTF8 BOM header for the .rsp file, when using '-cc msvc' #22408

Merged

Conversation

spytheman
Copy link
Member

@spytheman spytheman commented Oct 4, 2024

Related to #22405 .

Building with -cc msvc is hampered, when the paths stored in the .rsp file, have non ASCII characters. This PR solves it, by adding an explicit BOM header, so that cl.exe can then interpret the content without guessing and failing, no matter what the current code page is.

TODO: make the msvc option handling code respect -no-rsp.

Huly®: V_0.6-20870

@spytheman spytheman merged commit 0390c07 into vlang:master Oct 4, 2024
78 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant