Closed
Bug 1498247
Opened 7 years ago
Closed 7 years ago
Deprecation warning in mozrunner: env::home_dir
Categories
(Testing :: Mozbase Rust, enhancement, P1)
Tracking
(firefox64 fixed)
RESOLVED
FIXED
mozilla64
| Tracking | Status | |
|---|---|---|
| firefox64 | --- | fixed |
People
(Reporter: Alex_Gaynor, Assigned: Alex_Gaynor)
Details
Attachments
(3 files)
9:07.76 warning: use of deprecated item 'std::env::home_dir': This function's behavior is unexpected and probably not what you want. Consider using the home_dir function from https://crates.io/crates/dirs instead.
9:07.76 --> testing/mozbase/rust/mozrunner/src/runner.rs:325:20
9:07.76 |
9:07.76 325 | let home = env::home_dir();
9:07.76 | ^^^^^^^^^^^^^
9:07.76 |
9:07.76 = note: #[warn(deprecated)] on by default
| Assignee | ||
Comment 1•7 years ago
|
||
| Assignee | ||
Comment 2•7 years ago
|
||
Depends on D8577
| Assignee | ||
Comment 3•7 years ago
|
||
Depends on D8578
| Assignee | ||
Updated•7 years ago
|
Assignee: nobody → agaynor
Priority: -- → P1
| Assignee | ||
Updated•7 years ago
|
Keywords: checkin-needed
Pushed by csabou@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/96f72bd04292
Part 1 - Add a dependency on dirs for getting the home directory; r=jgraham
https://hg.mozilla.org/integration/autoland/rev/67a1e43538ab
Part 2 - cargo vendor; r=jgraham
https://hg.mozilla.org/integration/autoland/rev/1122d7446632
Part 3 - switch from using the deprecated env::home_dir() to the dirs crate; r=jgraham
Keywords: checkin-needed
Comment 5•7 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/96f72bd04292
https://hg.mozilla.org/mozilla-central/rev/67a1e43538ab
https://hg.mozilla.org/mozilla-central/rev/1122d7446632
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox64:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in
before you can comment on or make changes to this bug.
Description
•