Skip to content

Commit ea2d7be

Browse files
README: Update the state of pre-compiled bins
1 parent a180add commit ea2d7be

1 file changed

Lines changed: 15 additions & 2 deletions

File tree

README.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,16 @@ Each clock cycle, the contents of the registers are shown on the first line, the
2121

2222
## Usage
2323

24+
### Pre-compiled binaries
25+
26+
At the moment, `cargo run` is the recommended way to run the app, but pre-compiled binaries are also available for [some platforms](#supported-platforms). Download them from the **[releases page](https://github.com/RandomSearch18/rusty_man_computer/releases/latest)**.
27+
28+
Then, you can directly run the binary, following the examples below, e.g.
29+
30+
```sh
31+
rusty-man-computer --ram demos/add.bin
32+
```
33+
2434
### Running the demo programs
2535

2636
#### Addition
@@ -104,11 +114,14 @@ The emulator aims to be 100% compatible with [the Peter Higginson implementation
104114

105115
## Supported platforms
106116

107-
Currently, I only build binaries for Linux (the `x86_64-unknown-linux-gnu` [Rust target](https://doc.rust-lang.org/nightly/rustc/platform-support.html)), but I plan to support and build for the following platforms:
117+
Currently, I support and offer pre-compiled binaries for the following platforms:
108118

109119
- x86_64 Linux (`x86_64-unknown-linux-gnu`)
110120
- x86_64 Windows (`x86_64-pc-windows-gnu`)
111-
- x86_64 macOS (`x86_64-apple-darwin`)
112121
- ARM64 Linux (`aarch64-unknown-linux-gnu`)
113122

123+
I also plan to add pre-compiled binaries for macOS soon:
124+
125+
- x86_64 macOS (`x86_64-apple-darwin`)
126+
114127
If you have a different system, you will probably be able to build the program using the Rust compiler yourself, and it should work fine. If you have any issues, I'd be happy to try to help with compiling, or fix bugs, whatever system you're on.

0 commit comments

Comments
 (0)