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).