-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Adding rustc-cg-gcc #2746
Adding rustc-cg-gcc #2746
Conversation
c99121b
to
bfcdd40
Compare
Disabled binary support until it produces lighter files. |
Depends on compiler-explorer/infra#537 and compiler-explorer/misc-builder#6 |
GCC backend for rustc is still in a very early state. It is in the process of being merged in main rustc source: rust-lang/compiler-team#442 Currently reusing main rust compiler class and simply remove -Cllvm= argument if any (only for intel asm syntax). Disabling binary until the result is more friendly (currently binary are too big). refs compiler-explorer#2683
Will let the admin daily builds run to ensure things are working. Hope to merge tomorrow! |
Built and installed ok! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hurrah! Will test out in staging shortly.
} | ||
|
||
optionsForFilter(filters, outputFilename, userOptions) { | ||
// these options are direcly taken from rustc_codegen_gcc doc. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will merge as-is to get us going, but most of these can be const
(I know it's hardly C++ const
, but I like to try my best :) )
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm planning on doing some changes there later, so I'll look how to fix that :)
This change is now live :) |
Thanks a lot! |
GCC backend for rustc is still in a very early state. It is in the process of being merged in main rustc source: rust-lang/compiler-team#442 Currently reusing main rust compiler class and simply remove -Cllvm= argument if any (only for intel asm syntax). Disabling binary until the result is more friendly (currently binary are too big). refs #2683
GCC backend for rustc is still in a very early state.
It is in the process of being merged in main rustc source:
rust-lang/compiler-team#442
Currently reusing main rust compiler class and simply remove -Cllvm= argument if any (only for intel asm syntax).
Disabling binary until the result is more friendly (currently binary are too big).
refs #2683