mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Update the environment variable debug code for new Rust
This commit is contained in:
parent
a388a76d82
commit
2521bc551b
1 changed files with 3 additions and 1 deletions
|
@ -173,7 +173,9 @@ mod android {
|
|||
|
||||
pub fn setup_logging() {
|
||||
use self::libc::consts::os::posix88::{STDERR_FILENO, STDOUT_FILENO};
|
||||
//os::setenv("RUST_LOG", "servo,gfx,msg,util,layers,js,std,rt,extra");
|
||||
//use std::env;
|
||||
|
||||
//env::set_var("RUST_LOG", "servo,gfx,msg,util,layers,js,std,rt,extra");
|
||||
redirect_output(STDERR_FILENO);
|
||||
redirect_output(STDOUT_FILENO);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue