fix: 修复由于升级到2024-07-23工具链之后,某些机器上面内核运行一直fault的问题。 (#870)

* fix: 修复由于升级到2024-07-23工具链之后,某些机器上面内核运行一直fault的问题。
This commit is contained in:
LoGin
2024-07-27 17:34:05 +08:00
committed by GitHub
parent 3c0a1c8fa2
commit 703ce5a77c
14 changed files with 138 additions and 82 deletions

View File

@ -6,8 +6,7 @@
runner = "bootimage runner"
[build]
# '-Zlinker-features=-lld' 禁用rustlld20240723因为它与linkme0.3版本冲突
rustflags = ["-Zlinker-features=-lld"]
rustdocflags = ["-Zlinker-features=-lld"]
rustflags = ["-Clink-args=-znostart-stop-gc"]
rustdocflags = ["-Clink-args=-znostart-stop-gc"]
[env]