Skip to content

Commit

Permalink
cargo-config: rename to config.toml
Browse files Browse the repository at this point in the history
cargo recently complains about our cargo configuration file name:

    $ cargo build
    warning: `vhost/.cargo/config` is deprecated in favor of
    `config.toml`
    note: if you need to support cargo 1.38 or earlier, you can
    symlink `config` to `config.toml`

As suggested, let's update the file name. We don't create the symlink
since 2021 edition is not supported by 1.38 toolchain:

    $ cargo +1.38.0 build
    error: failed to parse manifest at `vhost/Cargo.toml`

    Caused by:
      failed to parse the `edition` key

    Caused by:
      supported edition values are `2015` or `2018`, but `2021` is unknown

Signed-off-by: Stefano Garzarella <[email protected]>
  • Loading branch information
stefano-garzarella committed Oct 2, 2024
1 parent db34452 commit b641ced
Showing 1 changed file with 0 additions and 0 deletions.
File renamed without changes.

0 comments on commit b641ced

Please sign in to comment.