improve building from source (#7239)
Lots of people are having trouble building from source and keep up to date. The main reason seems to be that cargo/rustup is hard to work with. The 'abort' panic strategy error is very frustrating and seems to be solved 100% of time with a clean. Adding those lines: When compiling a crate if you receive this error: ``` error: the crate is compiled with the panic strategy `abort` which is incompatible with this crate's strategy of `unwind` ``` Cleaning the repository will most likely solve the issue, try: ``` cargo clean ```
This commit is contained in:
parent
92f0db7cd7
commit
ce390fcd75
11
README.md
11
README.md
@ -94,12 +94,19 @@ $ cargo build --release
|
||||
```
|
||||
|
||||
This will produce an executable in the `./target/release` subdirectory.
|
||||
Note: if cargo fails to parse manifest try:
|
||||
Note1: if cargo fails to parse manifest try:
|
||||
|
||||
```bash
|
||||
$ ~/.cargo/bin/cargo build --release
|
||||
```
|
||||
|
||||
Note2: When compiling a crate if you receive this error:
|
||||
```
|
||||
error: the crate is compiled with the panic strategy `abort` which is incompatible with this crate's strategy of `unwind`
|
||||
```
|
||||
Cleaning the repository will most likely solve the issue, try:
|
||||
```
|
||||
cargo clean
|
||||
```
|
||||
This will always compile the latest nightly builds. If you want to build stable or beta, do a `git checkout stable` or `git checkout beta` first.
|
||||
|
||||
----
|
||||
|
Loading…
Reference in New Issue
Block a user