-
-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: update to new backtrace lib #1049
Conversation
这完全没做离开backtrace feature还能运行的适配 DragonOS/kernel/src/syscall/mod.rs Line 14 in 081428c
|
似乎是这样的, @fslongjin ,也许我们把backtrace默认开启? |
也许关闭的话能压缩内核大小?不用处理那堆unwind的事情的话。我认为还是得支持关掉这个feature |
使用新的unwinding库应该可以解决发生的链接错误,同时这个库会正确地释放资源,支持常见的架构。
我关闭了Makefile中的一个检查,因为这个unwinding库中引入了
eh_personality
,但是cargo clippy会说标准库已经存在,因为kernel使用的工具链是*-linux-gnu。 我暂时不确定这个地方这么去掉这个冲突。