dependabot-preview[bot] 39796d162e Bump cranelift from c7fd5d9 to ee6fe21 (#742)
Bumps [cranelift](https://github.com/CraneStation/cranelift) from `c7fd5d9` to `ee6fe21`.
- [Release notes](https://github.com/CraneStation/cranelift/releases)
- [Commits](c7fd5d9a47...ee6fe21f92)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-03 20:30:18 +02:00
2019-08-09 12:46:24 +02:00
2019-08-10 14:22:22 +02:00
2019-01-26 11:59:57 +01:00
2019-09-20 09:54:23 +02:00

WIP Cranelift codegen backend for rust

⚠⚠⚠ Threads and certain kinds of FFI don't work yet. ⚠⚠⚠

Building

$ git clone https://github.com/bjorn3/rustc_codegen_cranelift.git
$ cd rustc_codegen_cranelift
$ ./prepare.sh # download and patch sysroot src and install hyperfine for benchmarking
$ ./test.sh

Usage

$cg_clif_dir is the directory you cloned this repo into in the following instruction.

Cargo

$ $cg_clif_dir/cargo.sh run

Rustc

$ rustc -Cpanic=abort -Zcodegen-backend=$cg_clif_dir/target/debug/librustc_codegen_cranelift.so --sysroot $cg_clif_dir/build_sysroot/sysroot my_crate.rs

Not yet supported

Troubleshooting

Can't compile

Try updating your nightly compiler. You can try to use an nightly a day or two older if updating rustc doesn't fix it. If you still can't compile it, please fill an issue.

Description
No description provided
Readme 1.4 GiB
Languages
Rust 96.2%
RenderScript 0.7%
JavaScript 0.6%
Shell 0.6%
Fluent 0.4%
Other 1.3%