Skip to content

Error creating new project #99

@alexborisov

Description

@alexborisov

Bug description

Trying to run cargo pio init esp --platform espressif32 --frameworks espidf --board esp32-s3-devkitm-1 and fails due to error in generated Cargo.toml

[embuild::pio] Configuring MCU 'ESP32S3' supported by the configured board 'esp32-s3-devkitm-1'
[embuild::pio] Resolved platform: 'espressif32', MCU: 'ESP32S3', board: 'esp32-s3-devkitm-1', frameworks: [espidf]
    Creating library package
note: see more `Cargo.toml` keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Error: TOML parse error at line 4, column 11
  |
4 | edition = "2024"
  |           ^^^^^^
data did not match any variant of untagged enum Inheritable


Caused by:
    TOML parse error at line 4, column 11
      |
    4 | edition = "2024"
      |           ^^^^^^
    data did not match any variant of untagged enum Inheritable
  • Would you like to work on a fix? would fix myself, but unable to find where the source of the issue lies.

To Reproduce

  1. Install latest from cargo
  2. Run cargo pio.... as above
  3. Witness the error.

Expected behavior

The process to succeed.

Environment

  • Crate (cargo-pio) version: [0.26.0]
  • OS: [MacOS 15.3]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions