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
Now that cranelift is distributed with Rustup, I find myself constantly searching for the rust-lang/rust#81746 PR. I think that it would be useful to also describe the Rustup installation/usage instructions here in README.
# This line needs to come before anything else in Cargo.toml
31
+
cargo-features = ["codegen-backend"]
32
+
33
+
[profile.dev]
34
+
codegen-backend = "cranelift"
35
+
```
36
+
37
+
## Precompiled builds
38
+
39
+
You can also download a pre-built version from the [releases] page.
40
+
Extract the `dist` directory in the archive anywhere you want.
41
+
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`.
42
+
(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)).
For more docs on how to build and test see [build_system/usage.txt](build_system/usage.txt) or the help message of `./y.sh`.
24
64
25
-
## Precompiled builds
26
-
27
-
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)).
0 commit comments