Closed Bug 1498247 Opened 7 years ago Closed 7 years ago

Deprecation warning in mozrunner: env::home_dir

Categories

(Testing :: Mozbase Rust, enhancement, P1)

Version 3
enhancement

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
Depends on D8577
Assignee: nobody → agaynor
Priority: -- → P1
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
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: