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
Support for all tests passing in release mode (the CI now checks this too).
Some needed changes in lower1/lower2 and new shims to support this. Replaced uses of String with &str as String is part of alloc (we are just trying to support core for now). Added debug/release modes to java-linker. Added confirming release mode works to CI script.
Copy file name to clipboardExpand all lines: Readme.md
+7-3Lines changed: 7 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,7 +50,7 @@ All examples live in `tests/binary` and are compiled to JVM bytecode & run/teste
50
50
- Structs, tuples, enums (both C‑like and Rust‑style)
51
51
- Executable `.jar` generation for binary crates
52
52
- Mutable borrowing, references, and dereferencing
53
-
-**Integration tests** for all features
53
+
-**Integration tests** for all features, in debug and release modes
54
54
55
55
🚧 **Next Milestone:** Full support for the Rust `core` crate.
56
56
@@ -117,12 +117,16 @@ make gen-files
117
117
## 🚀 Usage
118
118
119
119
1.**Configure your project**
120
-
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).
120
+
In *your* Rust project directory, create or update `.cargo/config.toml` by copying the generated template (will be at the root of this repo after running make). Also, your `Cargo.toml` needs to contain the following (used to pass flags differentiating between debug and release builds to the linker):
121
+
122
+
```toml
123
+
cargo-features = ["profile-rustflags"]
124
+
```
121
125
122
126
2.**Build with Cargo**
123
127
```bash
124
128
cargo build # debug
125
-
cargo build --release # optimized - functionality available slightly impaired
0 commit comments