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

fix: Only alter panic handler in riscv64 target #73

Conversation

xxuejie
Copy link
Collaborator

@xxuejie xxuejie commented Jan 1, 2024

Previously the panic handler is inserted in all targets. This would make clippy complain about the following error:

error[E0152]: found duplicate lang item `panic_impl`

By only altering panic handler in riscv64 target, the error would now go away

Previously the panic handler is inserted in all targets. This would
make clippy complain about the following error:

```
error[E0152]: found duplicate lang item `panic_impl`
```

By only altering panic handler in riscv64 target, the error would now
go away
@xxuejie xxuejie force-pushed the only-alter-panic-handler-in-riscv64-target branch from bc3b890 to b91fa54 Compare January 1, 2024 08:22
@quake quake merged commit a0add70 into nervosnetwork:master Jan 1, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants