mirror of
https://github.com/astral-sh/ruff.git
synced 2025-11-03 13:23:10 +00:00
Update Rust toolchain to 1.88 and MSRV to 1.86 (#19011)
This commit is contained in:
parent
c5995c40d3
commit
29927f2b59
59 changed files with 210 additions and 425 deletions
|
|
@ -228,7 +228,11 @@ mod imp {
|
|||
let mut qos_class_raw = libc::qos_class_t::QOS_CLASS_UNSPECIFIED;
|
||||
#[expect(unsafe_code)]
|
||||
let code = unsafe {
|
||||
libc::pthread_get_qos_class_np(current_thread, &mut qos_class_raw, std::ptr::null_mut())
|
||||
libc::pthread_get_qos_class_np(
|
||||
current_thread,
|
||||
&raw mut qos_class_raw,
|
||||
std::ptr::null_mut(),
|
||||
)
|
||||
};
|
||||
|
||||
if code != 0 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue