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

No_std compile error #343

Open
karv1c opened this issue Oct 30, 2024 · 0 comments
Open

No_std compile error #343

karv1c opened this issue Oct 30, 2024 · 0 comments

Comments

@karv1c
Copy link

karv1c commented Oct 30, 2024

There is an compilation error without std feature:

error: #[panic_handler] function required, but not found
error: unwinding panics are not supported without std

Adding flags like panic=abort doesn't make any sense.

Seems like the problem is in crate-type = ["cdylib", "rlib"]. Removing this block makes hifitime compile with no_std.

Rust 1.82, Ubuntu

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

1 participant