Skip to content

Commit 78d3911

Browse files
authored
Update Readme.md
1 parent 71482b5 commit 78d3911

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

Readme.md

+7-6
Original file line numberDiff line numberDiff line change
@@ -15,23 +15,24 @@ $ ./test.sh
1515

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

18-
### Rustc
18+
### Cargo
1919

2020
```bash
21-
$ rustc -Cpanic=abort -Zcodegen-backend=$cg_clif_dir/target/debug/librustc_codegen_cranelift.so --sysroot $cg_clif_dir/build_sysroot/sysroot my_crate.rs
21+
$ $cg_clif_dir/cargo.sh run
2222
```
2323

24-
### Cargo
24+
### Rustc
2525

2626
```bash
27-
$ RUSTFLAGS="-Cpanic=abort -Zcodegen-backend=$cg_clif_dir/target/debug/librustc_codegen_cranelift.dylib --sysroot $cg_clif_dir/build_sysroot/sysroot" cargo run
27+
$ rustc -Cpanic=abort -Zcodegen-backend=$cg_clif_dir/target/debug/librustc_codegen_cranelift.so --sysroot $cg_clif_dir/build_sysroot/sysroot my_crate.rs
2828
```
2929

30+
3031
## Not yet supported
3132

32-
* Good non-rust abi support ([vectors are passed by-ref](https://github.com/bjorn3/rustc_codegen_cranelift/issues/10))
33+
* Good non-rust abi support ([several problems](https://github.com/bjorn3/rustc_codegen_cranelift/issues/10))
3334
* Checked binops ([some missing instructions in cranelift](https://github.com/CraneStation/cranelift/issues/460))
34-
* Inline assembly ([no cranelift support](https://github.com/CraneStation/cranelift/issues/444))
35+
* Inline assembly ([no cranelift support](https://github.com/CraneStation/cranelift/issues/444), not coming soon)
3536
* SIMD ([tracked here](https://github.com/bjorn3/rustc_codegen_cranelift/issues/171), some basic things work)
3637

3738
## Troubleshooting

0 commit comments

Comments
 (0)