Closed Bug 1451825 Opened 2 years ago Closed 2 years ago

Update Rust crates to depend on env_logger 0.5

Categories

(Firefox Build System :: General, enhancement)

enhancement
Not set

Tracking

(firefox61 fixed)

RESOLVED FIXED
mozilla61
Tracking Status
firefox61 --- fixed

People

(Reporter: mbrubeck, Assigned: mbrubeck)

Details

Attachments

(1 file)

This updates the js and u2fhid crates to use the same version of env_logger that is now used in stylo.
Comment on attachment 8965409 [details]
Bug 1451825 - Update to env_logger 0.5.

https://reviewboard.mozilla.org/r/234168/#review239764

::: js/rust/build.rs:14
(Diff revision 1)
>  
>  use std::env;
>  use std::path;
>  
>  fn main() {
> -    log::set_logger(|max_log_level| {
> +    env_logger::init();

Why was this code *ever* written this way?
Attachment #8965409 - Flags: review?(ted) → review+
https://hg.mozilla.org/mozilla-central/rev/d78f51ac7d96
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
You need to log in before you can comment on or make changes to this bug.