Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
ssl: use core and alloc imports for key logging
Assisted-by: Codex:GPT-5
  • Loading branch information
youknowone committed Sep 5, 2026
commit c8819cd379a4f2558c9348999c44cb779d5eeab4
6 changes: 2 additions & 4 deletions crates/host_env/src/fs/append_log.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,8 @@ impl AppendLog {
#[cfg(test)]
mod tests {
use super::*;
use std::{
path::PathBuf,
sync::atomic::{AtomicUsize, Ordering},
};
use core::sync::atomic::{AtomicUsize, Ordering};
use std::path::PathBuf;

struct TestDir(PathBuf);

Expand Down
2 changes: 1 addition & 1 deletion crates/stdlib/src/ssl/keylog.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use alloc::sync::Arc;
use rustpython_host_env::fs::AppendLog;
use std::sync::Arc;

pub(super) const HEADER: &[u8] = b"# TLS secrets log file, generated by OpenSSL / Python\n";

Expand Down
Loading