Stream: git-cranelift

Topic: cranelift / Issue #1254 How do I use cranelift-object as ...


view this post on Zulip GitHub (Jan 06 2020 at 00:31):

jyn514 closed Issue #1254:

Is there a supported way currently to use cranelift-object as a backend for cranelift-module? If not, could you release it to crates.io so other projects outside the cranelift umbrella can use it?

I'm interested supporting Windows in my compiler, which, since I'm emitting native code, means I need to emit PE/COFF object files. cranelift-faerie does not currently support this (https://github.com/m4b/faerie/issues/46). It's mentioned in https://github.com/bytecodealliance/cranelift/issues/511 that cranelift-object supports COFF, so I was planning to use that. However, I can't figure out how! cranelift-object isn't on either docs.rs or crates.io, and I can't find any project using it except https://github.com/bytecodealliance/lucet/, which pulls it directly from GitHub.


Last updated: Nov 22 2024 at 17:03 UTC