Hi Alex!

Thanks for the answer. I see it was removed in [1]. There once was
llvm::LLVMRustBuildJIT() [2] to create an ExecutionEngine.

Hopefully there will be plans to provide a complete binding for LLVM in
Rust, a convenient
object-oriented API for usage of LLVM (like llvm-py) and a Rust REPL [3]
after 1.0. :D

[1] https://github.com/mozilla/rust/issues/9818
[2]
https://github.com/mozilla/rust/blob/c92f2168d4/src/librustc/back/link.rs#L144
[3] https://github.com/mozilla/rust/issues/9898

--Benjamin



On Tue, Apr 29, 2014 at 2:49 AM, Alex Crichton <[email protected]> wrote:

> This used to be present for the JIT support that the old rusti
> provided, but the internal support for this has been removed. You may
> be able to resurrect it outside the compiler with these LLVM apis, but
> it may also require exposing more LLVM details from the compiler
> itself.
>
> There is currently no plan to bring a rust interpreter back before 1.0
>
> On Mon, Apr 28, 2014 at 5:23 PM, Benjamin Gudehus <[email protected]>
> wrote:
> > Hi!
> >
> > Will there be a way to make usage of ExecutionEngine and call LLVM
> functions
> > via a TypeRef to them?
> >
> > I saw there is even a LLVMDisposeExecutionEngine in
> rustc::lib::llvm::llvm.
> >
> > pub fn LLVMDisposeExecutionEngine(EE: ExecutionEngineRef);
> >
> > --Benjamin
> >
> >
> > _______________________________________________
> > Rust-dev mailing list
> > [email protected]
> > https://mail.mozilla.org/listinfo/rust-dev
> >
>
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to