Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
nullpoint420
11 months ago
|
parent
|
context
|
favorite
| on:
Rust to C compiler – 95.9% test pass rate, odd pla...
Would it be possible for Rust to output LLVM IR? Would that make it easier to port if they have a LLVM frontend?
guipsp
11 months ago
|
next
[–]
This comment is strange, given that LLVM is rust's most mature backend
woodruffw
11 months ago
|
parent
|
next
[–]
I think the GP means emit LLVM IR directly. And the answer to that is yes; you can pass a flag to rustc that will emit the IR[1].
[1]:
https://stackoverflow.com/questions/39004513/how-to-emit-llv...
nullpoint420
11 months ago
|
root
|
parent
|
next
[–]
This is what I meant, thank you.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: