Skip to content

Commit 215dd7a

Browse files
committed
Add some extra instructions for using the precompiled builds
1 parent 456ef8b commit 215dd7a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Readme.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,12 @@ $ ./test.sh
2222

2323
For more docs on how to build and test see [build_system/usage.txt](build_system/usage.txt) or the help message of `./y.rs`.
2424

25+
## Precompiled builds
26+
2527
Alternatively you can download a pre built version from the [releases] page.
28+
Extract the `dist` directory in the archive anywhere you want.
29+
If you want to use `cargo clif build` instead of having to specify the full path to the `cargo-clif` executable, you can add the `bin` subdirectory of the extracted `dist` directory to your `PATH`.
30+
(tutorial [for Windows](https://stackoverflow.com/a/44272417), and [for Linux/MacOS](https://unix.stackexchange.com/questions/26047/how-to-correctly-add-a-path-to-path/26059#26059)).
2631

2732
[releases]: https://github.com/bjorn3/rustc_codegen_cranelift/releases/tag/dev
2833

0 commit comments

Comments
 (0)