Skip to content

Cannot specify timings in .cargo/config #10509

Closed as not planned
Closed as not planned
@jerryc05

Description

@jerryc05

Problem

Cannot specify timings option in .cargo/config

Steps

  1. Add these to .cargo/config:
    [build]
    timings = ['html']
    
  2. Shows warning: warning: unused config key build.timings, and timings not activated.

Possible Solution(s)

Parse build.timings in .cargo/config since timings is removed from unstable in nightly cargo.

Notes

No response

Version

cargo 1.61.0-nightly (109bfbd 2022-03-17)
release: 1.61.0-nightly
commit-hash: 109bfbd055325ef87a6e7f63d67da7e838f8300b
commit-date: 2022-03-17
host: x86_64-unknown-linux-gnu
libgit2: 1.4.2 (sys:0.14.2 vendored)
libcurl: 7.80.0-DEV (sys:0.4.51+curl-7.80.0 vendored ssl:OpenSSL/1.1.1m)
os: Debian unstable (sid) [64-bit]


<!-- TRIAGEBOT_START -->

<!-- TRIAGEBOT_ASSIGN_START -->

<!-- TRIAGEBOT_ASSIGN_DATA_START$${"user":"hi-rustin"}$$TRIAGEBOT_ASSIGN_DATA_END -->

<!-- TRIAGEBOT_ASSIGN_END -->
<!-- TRIAGEBOT_END -->

Metadata

Metadata

Assignees

Labels

A-configurationArea: cargo config files and env varsA-timingsArea: timingsC-bugCategory: bugS-acceptedStatus: Issue or feature is accepted, and has a team member available to help mentor or review

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions