docs: update troubleshooting.md

This commit is contained in:
Shunsuke Shibayama 2023-02-14 16:27:21 +09:00
parent f3fd5e3eeb
commit 5a347e87e8
2 changed files with 8 additions and 0 deletions

View file

@ -8,6 +8,10 @@ A: The branch you are working on may not be following the changes in `main`.
A: Try committing again. It may fail the first time. If it fails again and again, the code may contain a bug.
## Q: pre-commit test gives "link failure"
A: Make sure cargo is not running in another process.
## Q: build.rs fails to run
A: Check for extra files/directories (such as `__pychache__`) on the directory where `build.rs` runs.

View file

@ -10,6 +10,10 @@ A: あなたの作業しているブランチが`main`の変更に追従して
A: もう一度コミットを試みてください。最初の1回は失敗することがあります。何度やっても失敗する場合、コードにバグが含まれている可能性があります。
## Q: pre-commitのテストで「リンク失敗」となる
A: 別のプロセスでcargoが実行中でないか確認してください。
## Q: build.rsの実行に失敗する
A: build.rsが動作するディレクトリ上に余計なファイル・ディレクトリ(`__pychache__`など)がないか確認してください。