warning: `$objdir/.cargo/config` is deprecated in favor of `config.toml`
Categories
(Firefox Build System :: General, task)
Tracking
(firefox126 fixed)
| 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.
| Assignee | ||
Comment 1•2 years ago
|
||
Cargo 1.79 is emitting a warning when using .cargo/config.
.cargo/config.toml has been supported since cargo 1.39.
Updated•2 years ago
|
Comment 3•2 years ago
|
||
| bugherder | ||
| Assignee | ||
Comment 4•2 years ago
|
||
Comment 7•2 years ago
|
||
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)
Comment 8•1 year ago
|
||
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?
| Assignee | ||
Comment 9•1 year ago
|
||
(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.
Description
•