rust-embedded / rust-embedded/heapless

Fallout from the removal of `doc_auto_cfg`

Open
#621 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
2k
Forks
253
Avg merge
1d 2h
Merged PRs (30d)
1

Description

I am on rustc v1.91.0, and encountering

   --> heapless-0.9.1/src/lib.rs:133:47
    |
133 | #![cfg_attr(docsrs, feature(doc_cfg), feature(doc_auto_cfg))]
    |                                               ^^^^^^^^^^^^ feature has been removed
    |
    = note: removed in CURRENT_RUSTC_VERSION; see <https://github.com/rust-lang/rust/pull/138907> for more information
    = note: merged into `doc_cfg`

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at src/lib.rs line 133 and inspect the cfg_attr features named in the reported rustc 1.91.0 error. Reproduce the build issue with that compiler, make the compatibility adjustment indicated by the error, and verify the removed-feature diagnostic no longer appears.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
build-system
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.