File tree 1 file changed +7
-6
lines changed
1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -15,23 +15,24 @@ $ ./test.sh
15
15
16
16
` $cg_clif_dir ` is the directory you cloned this repo into in the following instruction.
17
17
18
- ### Rustc
18
+ ### Cargo
19
19
20
20
``` 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
22
22
```
23
23
24
- ### Cargo
24
+ ### Rustc
25
25
26
26
``` 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
28
28
```
29
29
30
+
30
31
## Not yet supported
31
32
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 ) )
33
34
* 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 )
35
36
* SIMD ([ tracked here] ( https://github.com/bjorn3/rustc_codegen_cranelift/issues/171 ) , some basic things work)
36
37
37
38
## Troubleshooting
You can’t perform that action at this time.
0 commit comments