Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix "can't leak crate-private type" error in toolchain 1.71.0 #24

Merged
merged 1 commit into from
Mar 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion src/perf_event/sampling/record/body/read/raw.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ pub struct Sized {
pub tid: u32,
}

pub struct Raw {
pub(super) struct Raw {
pub read_ptr: *const u8,
pub sample_type: u64,
}
Expand Down
2 changes: 1 addition & 1 deletion src/perf_event/sampling/record/body/sample/raw.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ use std::mem::size_of;
use std::ops::Not;
use std::slice;

pub struct Raw {
pub(super) struct Raw {
pub read_ptr: *const u8,
pub sample_type: u64,
}
Expand Down
Loading