rust-lang / rust-lang/rust

LLVM warnings emitted for Xtensa target-cpu

Open
#137,150 3 comments 0 reactions 1 assignee View on GitHub

@MabezDev is already working on this.

Since Feb 17, 2025.

A-LLVM A-target-feature C-bug O-xtensa T-compiler
Dominant language
Rust
Stars
119k
Forks
16.1k
PR merge metrics
PR metrics pending

Description

I ran rustc --target $TARGET for

  • xtensa-esp32-espidf
  • xtensa-esp32-none-elf
  • xtensa-esp32s2-espidf
  • xtensa-esp32s2-none-elf
  • xtensa-esp32s3-espidf
  • xtensa-esp32s3-none-elf

And for all of them, I got a warning that 'esp32' is not a recognized processor for this target (ignoring processor) (or esp32-s2 or esp32-s3 respectively).

Additionally for xtensa-esp32s2-none-elf, I also got '+forced-atomics' is not a recognized feature for this target (ignoring feature)

@MabezDev @SergioGasquez as Xtensa maintainers

Contributor guide

Open the contributing guide

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.