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
Add support for providing more than 1 argument to format!, arrays, and floats.
- Introduced new formatting functions in Core.kt for displaying integers, booleans, doubles, and general objects.
- Implemented `arguments_new_v1` to format strings with arguments, rather than just a simple string.
- Enhanced lower1.rs to map specific Rust types to JVM types, including handling for `core::fmt::Arguments` and arrays.
- Improved handling of scalar types in lower1.rs, including float types.
- Updated lower2.rs to manage local variable types and ensure type consistency during assignments.
- Added support for array creation and storage in lower2.rs.
- Introduced new tests for panic scenarios, ensuring proper formatting and output.
- Introduced proper linking to Kotlin's stdlib, and ensured these files can be excluded from asm-processor.
# Throwing a JVM exception will unwind and give a stack trace, no need for rust to handle unwinding.
91
+
[profile.debug]
92
+
panic = "abort"
93
+
94
+
[profile.release]
95
+
panic = "abort"
89
96
```
90
97
* **Important:** Replace `/path/to/rustc_codegen_jvm/...` with the path to where you cloned the repository. If you're not on macOS, changed `.dylib` to `.so`for Linux or `.dll`for Windows.
91
98
@@ -111,7 +118,7 @@ To compile *your own* Rust project using this backend:
111
118
This project includes integration tests managed by a Python script.
112
119
113
120
1. **Ensure Toolchain is Built:** Build the project using `make all`.
114
-
2. **Check Target JSON:** Make sure the `jvm-unknown-unknown.json` file in the *root* of this repository has the **relative paths** starting with `../../../`for the linker and backend, as the tester expects this structure when running tests from subdirectories. If you changed them to absolute paths for external use, change them back temporarily.
121
+
2. **Check Target JSON:** Make sure the `jvm-unknown-unknown.json` file in the *root* of this repository has the **relative paths** starting with `/path/to/rustc_codegen_jvm/`for the linker and backend, as the tester expects this structure when running tests from subdirectories. If you changed them to absolute paths for external use, change them back temporarily.
0 commit comments