Closed Bug 1888321 Opened 2 years ago Closed 2 years ago

warning: `$objdir/.cargo/config` is deprecated in favor of `config.toml`

Categories

(Firefox Build System :: General, task)

task

Tracking

(firefox126 fixed)

RESOLVED FIXED
126 Branch
Tracking Status
firefox126 --- fixed

People

(Reporter: glandium, Assigned: glandium)

References

Details

Attachments

(2 files)

This appears during the build with rust nightly:

warning: `$objdir/.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`

It's not clear exactly when support for .cargo/config might go away, but the sooner we switch to config.toml, the better.

Cargo 1.79 is emitting a warning when using .cargo/config.
.cargo/config.toml has been supported since cargo 1.39.

Assignee: nobody → mh+mozilla
Status: NEW → ASSIGNED
See Also: → 1888431
Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/d5468eadbcdf Rename .cargo/config.in to .cargo/config.toml.in. r=firefox-build-system-reviewers,webdriver-reviewers,ahochheiden
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 126 Branch
Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/058016a25503 Followup: properly refresh .cargo/config.toml.in when vendoring. r=firefox-build-system-reviewers,ahochheiden

A patch has been attached on this bug, which was already closed. Filing a separate bug will ensure better tracking. If this was not by mistake and further action is needed, please alert the appropriate party. (Or: if the patch doesn't change behavior -- e.g. landing a test case, or fixing a typo -- then feel free to disregard this message)

Now the build causes warning about having both .cargo/config and .cargo/config.toml, probably because the previous .cargo/config is still in the obj dir. Should we try to remove it?

Flags: needinfo?(mh+mozilla)

(In reply to Kagami [:saschanaz] (they/them) from comment #8)

Now the build causes warning about having both .cargo/config and .cargo/config.toml, probably because the previous .cargo/config is still in the obj dir. Should we try to remove it?

Please open a followup bug about it, with the exact warning.

Flags: needinfo?(mh+mozilla)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: