Skip to content

Commit e060513

Browse files
committed
log to stderr
1 parent a303bb9 commit e060513

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

minion-tests/src/worker.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,10 @@ async fn inner_main(test_cases: &[&'static dyn TestCase]) {
5757
}
5858

5959
pub fn main(test_cases: &[&'static dyn TestCase]) {
60-
tracing_subscriber::fmt().pretty().init();
60+
tracing_subscriber::fmt()
61+
.pretty()
62+
.with_writer(std::io::stderr)
63+
.init();
6164
let rt = tokio::runtime::Builder::new_current_thread()
6265
.enable_all()
6366
.build()

src/windows/spawn.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ pub(in crate::windows) fn spawn(
169169
stdio: Stdio,
170170
params: ChildParams,
171171
) -> Result<PROCESS_INFORMATION, Error> {
172-
let mut proc_thread_attr_list_storage;
172+
let proc_thread_attr_list_storage;
173173
let mut security_capabilities;
174174
let mut startup_info = unsafe {
175175
let mut startup_info: STARTUPINFOEXW = std::mem::zeroed();

0 commit comments

Comments
 (0)