mirror of
https://github.com/erg-lang/erg.git
synced 2025-08-04 18:58:30 +00:00
docs: update troubleshooting.md
This commit is contained in:
parent
f3fd5e3eeb
commit
5a347e87e8
2 changed files with 8 additions and 0 deletions
|
@ -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.
|
||||
|
|
|
@ -10,6 +10,10 @@ A: あなたの作業しているブランチが`main`の変更に追従して
|
|||
|
||||
A: もう一度コミットを試みてください。最初の1回は失敗することがあります。何度やっても失敗する場合、コードにバグが含まれている可能性があります。
|
||||
|
||||
## Q: pre-commitのテストで「リンク失敗」となる
|
||||
|
||||
A: 別のプロセスでcargoが実行中でないか確認してください。
|
||||
|
||||
## Q: build.rsの実行に失敗する
|
||||
|
||||
A: build.rsが動作するディレクトリ上に余計なファイル・ディレクトリ(`__pychache__`など)がないか確認してください。
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue