You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Readme.md
+12-12
Original file line number
Diff line number
Diff line change
@@ -24,14 +24,14 @@ Compile your Rust code into a runnable `.jar` on JVM 8+!
24
24
---
25
25
26
26
## 🔥 Demos
27
-
28
-
All examples live in `tests/binary` and are compiled to JVM bytecode & run/tested on the CI on every commit. Some exicting demos made in pure-Rust include:
29
-
30
-
-**RSA**encryption/decryption (`rsa`)
31
-
-**Fibonacci** sequence generator (`fibonacci`)
32
-
-**Collatz conjecture** verifier (`collatz`)
33
-
-**Large prime** generator (`primes`)
34
-
-Nested data structures: enums, structs, tuples, arrays, slices (`enums`, `structs`)
27
+
All examples live in `tests/binary` and are compiled to JVM bytecode & run/tested on the CI on every commit. Some exciting demos made in pure-Rust include:
-Use of nested data structures: enums, structs, tuples, arrays, slices (**[enums](tests/binary/enums/src/main.rs)**, **[structs](tests/binary/structs/src/main.rs)** - both tests use arrays and tuples)
35
35
- …and more!
36
36
37
37
---
@@ -95,7 +95,7 @@ This will compile:
95
95
-`rustc_codegen_jvm` backend library
96
96
-`java-linker`
97
97
-`asm-processor`
98
-
- Kotlin shim for `core`
98
+
- Kotlin shim for `core`(once core support is reached, this will no longer be needed)
In *your* Rust project directory, create or update `.cargo/config.toml` with the generated template.
111
+
In *your* Rust project directory, create or update `.cargo/config.toml` with the generated template (will be at the root of this repo after running make).
112
112
113
113
2.**Build with Cargo**
114
114
```bash
115
115
cargo build # debug
116
-
cargo build --release # optimized
116
+
cargo build --release # optimized - functionality available slightly impaired
0 commit comments