mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-20 19:04:21 +00:00
parent
b37e2664a6
commit
ef6383011f
14
README.md
14
README.md
@ -213,6 +213,20 @@ options covering different styles. File an issue, or even better, submit a PR.
|
||||
* If you're having issues compiling Rustfmt (or compile errors when trying to
|
||||
install), make sure you have the most recent version of Rust installed.
|
||||
|
||||
* If you get an error like `error while loading shared libraries` while starting
|
||||
up rustfmt you should try the following:
|
||||
|
||||
On Linux:
|
||||
|
||||
```
|
||||
export LD_LIBRARY_PATH=$(rustc --print sysroot)/lib:$LD_LIBRARY_PATH
|
||||
```
|
||||
|
||||
On MacOS:
|
||||
|
||||
```
|
||||
export DYLD_LIBRARY_PATH=$(rustc --print sysroot)/lib:$DYLD_LIBRARY_PATH
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user