Skip to content
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

cargo run --release报错 #11

Closed
yuriYanZeXuan opened this issue Jul 5, 2023 · 1 comment
Closed

cargo run --release报错 #11

yuriYanZeXuan opened this issue Jul 5, 2023 · 1 comment

Comments

@yuriYanZeXuan
Copy link
Collaborator

cargo run --release

报错,但是cargo run可以正常执行
检查rustup toolchain list发现是rust nightly是最新版本
报错信息显示rustc panicked

@yuriYanZeXuan
Copy link
Collaborator Author

考虑运行命令

rustup install nightly-2023-04-17
rustup default nightly-2023-04-17
rustup component add rust-src --toolchain nightly-2023-04-17
rustup override set nightly-2023-04-17-x86_64-unknown-linux-gnu

请参考
alecmocatta/serde_traitobject#35
希望这能够帮到你

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants