You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever we raise the MSRV to 1.77.0 for any reason, we should
[ ] Replace the memoffset::offset_of! macro with the builtin macro of the same name (https://blog.rust-lang.org/2024/03/21/Rust-1.77.0.html#offset_of)
[ ] Use native CStr literals instead of CString::new
The text was updated successfully, but these errors were encountered:
for the following code snippet in build.rs, use cargo:: rather than cargo: in build.rs (new syntax introduced in 1.77)
// Below are Nix's custom cfg values that we need to let the compiler knowprintln!("cargo:rustc-check-cfg=cfg(apple_targets)");println!("cargo:rustc-check-cfg=cfg(bsd)");println!("cargo:rustc-check-cfg=cfg(bsd_without_apple)");println!("cargo:rustc-check-cfg=cfg(linux_android)");println!("cargo:rustc-check-cfg=cfg(freebsdlike)");println!("cargo:rustc-check-cfg=cfg(netbsdlike)");println!("cargo:rustc-check-cfg=cfg(solarish)");println!("cargo:rustc-check-cfg=cfg(fbsd14)");println!("cargo:rustc-check-cfg=cfg(qemu)");
Whenever we raise the MSRV to 1.77.0 for any reason, we should
[ ] Replace the memoffset::offset_of! macro with the builtin macro of the same name (https://blog.rust-lang.org/2024/03/21/Rust-1.77.0.html#offset_of)
[ ] Use native CStr literals instead of
CString::new
The text was updated successfully, but these errors were encountered: