Skip to content

No_std compile error #343

@karv1c

Description

@karv1c

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions