Skip to content

Feature take-charge + log fail to build under all supported rust versions #164

@Sildulir

Description

@Sildulir

Command used to build:

cargo +1.85.1 build -F take-charge,origin-start,log --no-default-features

Output:

error: unsafe attribute used without unsafe
 --> src/log.rs:6:3
  |
6 | #[link_section = ".init_array.00099"]
  |   ^^^^^^^^^^^^ usage of unsafe attribute
  |
help: wrap the attribute in `unsafe(...)`
  |
6 | #[unsafe(link_section = ".init_array.00099")]
  |   +++++++                                  +

This also fail on nightly with the same error (as expected).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions