-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Add option to specify language of CSourceFiles #20687
base: master
Are you sure you want to change the base?
Conversation
2156522
to
f73ed36
Compare
std.Build.Module.addForeignSourceFile
(non-breaking)
Actually the I did notice though, in your PR there is no |
6581419
to
c4dfa85
Compare
ah my bad, I casually read the diff in the web interface and misread.
You're right! thanks. |
4b6eb4d
to
54bf51e
Compare
fdb4981
to
1bc8dd6
Compare
Anything that needs to be done in order to merge? Hoping use upstream Zig again. |
Closes #20655
The
addCSourceFile
functions gain an optionallanguage
field which defaults to the current behavior (find the language by the file extension of each input).This does not add support for any new languages beyond what
addCSourceFile
already supports: the C languages and assembly.