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
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
> [!WARNING]
4
4
> This project is still early in its developement. Bugs, crashes and miscompilations are expected. DO NOT USE IT FOR ANYTHING SERIOUS.
5
5
6
-
`rustc_codegen_clr` is an experimental Rust compiler backend(plugin), which allows you to transpile Rust into .NET assebmlies, or C source files.
6
+
`rustc_codegen_clr` is an experimental Rust compiler backend(plugin), which allows you to transpile Rust into .NET assemblies, or C source files.
7
7
8
8
The end goal of the project is allowing Rust to be used in places where it could not be used before.
9
9
@@ -14,7 +14,7 @@ The project aims to provide a way to easily use Rust libraries in .NET. It comes
14
14
```
15
15
use mychorizza::*;
16
16
fn main(){
17
-
// Alocate a new GC-managed string builder
17
+
// Allocate a new GC-managed string builder
18
18
let stringBuilder = StringBuilder::empty();
19
19
// You can easily operate on GC-managed types
20
20
mstring.AppendChar('H');
@@ -49,11 +49,11 @@ My representation of .NETs IR maps nicely to C, which means that I was able to a
49
49
present in the very last stage of compilation.
50
50
51
51
This means that, instead of having to maintain 2 separate projects, I can maintain one project. Bug fixes to the .NET side of things also fix C bugs.
52
-
Because of that, the support for C in the project is almost as good as support for .NET
52
+
Because of that, the support for C in the project is almost as good as support for .NET.
53
53
54
54
## Current state of the project
55
55
56
-
The project currently supports most Rust features (except proc macros), but it is not bug-free. It can compile a mostly working version of Rust std, but there are many minor bugs make such `std` not 100% functional.
56
+
The project currently supports most Rust features (except proc macros), but it is not bug-free. It can compile a mostly working version of Rust std, but there are many minor bugs that make such `std` not 100% functional.
57
57
58
58
Most components of `std` are about 95% working in .NET, and 80% working in C.
59
59
So, you *can* compile a lot of existing Rust code, but it may not necessarily *work*.
0 commit comments