Currently, rustc_trans::abi uses LLVM, which makes it hard to use from alternate back-ends like Cranelift. If we refactor it to a separate crate that only relies on ty::layout, that would make life easierr.
cc @eddyb.
cc @camlorn - you might be interested in it.
Currently,
rustc_trans::abiuses LLVM, which makes it hard to use from alternate back-ends like Cranelift. If we refactor it to a separate crate that only relies onty::layout, that would make life easierr.cc @eddyb.
cc @camlorn - you might be interested in it.