Skip to content

Update all dependencies #2

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Update all dependencies #2

wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 11, 2023

This PR contains the following updates:

Package Type Update Change Age Confidence
bindgen (source) build-dependencies minor 0.63.0 -> 0.72.0 age confidence
golang.org/x/exp require digest 98cc5a0 -> 6ae5c78 age confidence
libc dependencies patch 0.2.144 -> 0.2.174 age confidence
mvdan.cc/sh/v3 require minor v3.6.0 -> v3.12.0 age confidence

Release Notes

rust-lang/rust-bindgen (bindgen)

v0.72.0

Compare Source

Added

  • Report enums in ParseCallbacks.
  • Refactor item_name method to use ItemInfo struct.
  • Add callback to modify contents of macro
  • Discovery callbacks for functions and methods.
  • Options to generate uncallable C++ functions.
  • Provide option to get real virtual fn receiver.

Changed

  • Generate bindings compatible with current rustc version by default.

Removed

  • Remove unused which-rustfmt feature
  • Remove warning for opaque forward declarations

Fixed

  • More sophisticated handling of the triple in rust_to_clang_target
  • Rename *-apple-ios-sim to ...simulator
  • Fix OpenCL vectors that use "ext_vector_type".
  • Fix union layout when it contains 0 sized array.
  • Avoid crashing on variadic unions without layout information.
  • Distinguish char16_t.
  • Fix bugs in --clang-macro-fallback
  • Add missed unsafe in the raw_set_bit function
  • Use link_name for dynamic library loading
  • Add "gen" to list of rust keywords in 'rust_mangle'
  • Use appropriate rustfmt --format ... param

v0.71.1

Compare Source

Fixed

  • Fix --version and --generate-shell-completions (#​3040)

v0.71.0

Compare Source

Added

  • Add the ParseCallbacks::new_item_found callback to expose the original and final name of structs, unions and enums (#​2658).
  • Add the field_type_name field to FieldInfo to expose the name of the type of a field (#​2863)
  • Add support for custom attributes with the --with-attribute-custom flag (#​2866)
  • Allow setting --rust-target to any Rust version supported by bindgen (#​2993)
  • Use c-string literals if the --generate-cstr flag is used for Rust targets after 1.77 under the 2021 edition (#​2996)
  • Add the --rust-edition flag which allows to select which Rust edition to target. (#​3002, #​3013)
  • Use unsafe extern instead of extern in blocks for any Rust target after 1.82. (#​3015)

Changed

  • The --wrap-static-fns related options no longer require the experimental feature or flag (#​2928)
  • Use the Display implementation instead of the Debug one for BindgenError in bindgen-cli (#​3005)

Removed

  • Dropped support for any Clang versions strictly lower than 9.0 (#​2932)
  • Dropped support for any Rust version strictly lower than 1.33 (#​2993)

Fixed

  • Represent opaque types in a FFI-safe way (#​2880)
  • Use the underlying type of any atomic type instead of panicking (#​2920)
  • Use the right characters for newlines on windows (#​2923)
  • Inlined namespaces are properly recognized now (#​2950)
  • Unsafe calls to libloading are now wrapped in unsafe blocks when using dynamic loading (#​2961)
  • The ParseCallbacks::field_visibility callback is now called for newtypes as well (#​2967)
  • Gate the use of the addr_of and addr_of_mut macros under the 1.51 rust version (#​2988)

v0.70.1

Compare Source

Added

Changed

Removed

Fixed

  • Fix regression where the const layout tests were triggering the unnecessary_operation and identity_op clippy warnings.

Security

v0.70.0

Compare Source

Added

  • Add target mappings for riscv64imac and riscv32imafc.
  • Add a complex macro fallback API (#​2779).
  • Add option to use DST structs for flexible arrays (--flexarray-dst, #​2772).
  • Add option to dynamically load variables (#​2812).
  • Add option in CLI to use rustified non-exhaustive enums (--rustified-non-exhaustive-enum, #​2847).
  • Add field_type_name to FieldInfo.

Changed

  • Remove which and lazy-static dependencies (#​2809, #​2817).
  • Generate compile-time layout tests (#​2787).
  • Print bindgen-cli errors to stderr instead of stdout (#​2840)

Removed

Fixed

  • Fix --formatter=prettyplease not working in bindgen-cli by adding prettyplease feature and
    enabling it by default for bindgen-cli (#​2789) .
  • Fix --allowlist-item so anonymous enums are no longer ignored (#​2827).
  • Use clang_getFileLocation instead of clang_getSpellingLocation to fix clang-trunk (#​2824).
  • Fix generated constants: f64::INFINITY, f64::NEG_ INFINITY, f64::NAN (#​2854).

Security

v0.69.5

Compare Source

Install bindgen-cli 0.69.5

Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/rust-lang/rust-bindgen/releases/download/v0.69.5/bindgen-cli-installer.sh | sh

Download bindgen-cli 0.69.5

File Platform Checksum
bindgen-cli-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
bindgen-cli-x86_64-apple-darwin.tar.xz Intel macOS checksum
bindgen-cli-x86_64-unknown-linux-gnu.tar.xz x64 Linux checksum

v0.69.4

Compare Source

Added

Changed

Removed

Fixed

Security

v0.69.3

Compare Source

Added

Changed

  • Use CR consistently on windows (#​2698)
  • Replaced peeking_take_while by itertools (#​2724)

Removed

Fixed

  • Try to avoid repr(packed) for explicitly aligned types when not needed (#​2734)
  • Improved destructor handling on Windows (#​2663)
  • Support Float16 (#​2667)
  • Fix alignment contribution from bitfields (#​2680)
  • Fixed msrv build.

Security

  • Updated shlex dependency (RUSTSEC-2024-0006)

v0.69.2

Compare Source

Added

Changed

Removed

Fixed

  • Fixed generation of extern "C" blocks with llvm 18+. See #​2689.

Security

v0.69.1

Compare Source

Fixed

  • Allow to run bindgen -v without an input header argument.

v0.69.0

Compare Source

Added

  • Added the ParseCallbacks::header_file callback which runs on every filename passed to Builder::header.
  • Added the CargoCallbacks::new constructor which emits a cargo-rerun line
    for every input header file by default.
  • Added the CargoCallbacks::rerun_on_header_files method to configure whether
    a cargo-rerun line should be emitted for every input header file.

Changed

  • The --wrap-static-fns feature was updated so function types that has no
    argument use void as its sole argument.
  • CargoCallbacks is no longer a unit-like
    struct
    and the
    CargoCallbacks constant was added to mitigate the breaking nature of this
    change. This constant has been marked as deprecated and users will have to
    use the new CargoCallbacks::new method in the future.

Removed

Fixed

  • Allow compiling bindgen-cli with a static libclang.
  • Emit an opaque integer type for pointer types that don't have the same size
    as the target's pointer size.
  • Avoid escaping Objective-C method names unless they are Self, self,
    crate or super.

Security

v0.68.1

Compare Source

Fixed

  • Fixed errors on the windows artifact build process.

v0.68.0

Compare Source

Added

  • The system ABI is now supported as an option for the --override-abi flag.
  • The allowlist_item method and the --allowlist-item flag have been
    included to filter items regardless or their kind.
  • Include installers as release artifacts on Github.

Changed

  • The Clone implementation for _BindgenUnionField has been changed to pass
    the incorrect_clone_impl_on_copy_type Clippy lint.
  • The c_unwind ABI can be used without a feature gate for any Rust target version
    equal to or greater than 1.71.
    This comes as a result of the ABI being stabilised (in Rust 1.71).
  • Formatting changes when using prettyplease as a formatter due to a new
    prettyplease version.
  • Avoid generating invalid CStr constants when using the --generate-cstr
    option.

Removed

  • The extra_assert and extra_assert_eq macros are no longer exported.

Fixed

  • Bindgen no longer panics when parsing an objective-C header that includes a
    Rust keyword that cannot be a raw identifier, such as: self, crate,
    super or Self.

v0.66.1

Compare Source

Removed

  • Revert source order sorting (#​2543) due to correctness regressions #​2558.

v0.66.0

Compare Source

Added

  • Added the --generate-cstr CLI flag to generate string constants as &CStr
    instead of &[u8]. (Requires Rust 1.59 or higher.)
  • Added the --generate-shell-completions CLI flag to generate completions for
    different shells.
  • The --wrap-static-fns option can now wrap va_list functions as variadic functions
    with the experimental ParseCallbacks::wrap_as_variadic_fn method.
  • Add target mappings for riscv32imc and riscv32imac.
  • Add the ParseCallbacks::field_visibility method to modify field visibility.

Changed

  • Non-UTF-8 string constants are now generated as references (&[u8; SIZE])
    instead of arrays ([u8; SIZE]) to match UTF-8 strings.
  • Wrappers for static functions that return void no longer contain a return
    statement and only call the static function instead.
  • The --wrap-static-fns option no longer emits wrappers for static variadic
    functions.
  • Depfiles generated with --depfile or Builder::depfile will now properly
    generate module names and paths that include spaces by escaping them. To make
    the escaping clear and consistent, backslashes are also escaped.
  • Updated bitflags dependency to 2.2.1. This changes the API of CodegenConfig.
  • Prettyplease formatting is gated by an optional, enabled by default Cargo
    feature when depending on bindgen as a library.
  • Items are now parsed in the order they appear in source files. This may result in
    auto-generated _bindgen_* names having a different index.
  • Use default visibility for padding fields: Previously, padding fields were
    always public. Now, they follow the default visibility for the type they are
    in.
  • Compute visibility of bitfield unit based on actual field visibility: A
    bitfield unit field and its related functions now have their visibility
    determined based on the most private between the default visibility and the
    actual visibility of the bitfields within the unit.

Removed

  • Remove redundant Cargo features, which were all implicit:

    • bindgen-cli: env_logger and log removed in favor of logging
    • bindgen (lib):
      • log removed in favor of logging
      • which removed in favor of which-logging
      • annotate-snippets removed in favor of experimental
  • Prettyplease is available as a Formatter variant now.

v0.65.1

Compare Source

Fixed

  • The Builder::rustfmt_bindings method was added back and tagged as
    deprecated instead of being removed.
  • Broken documentation links were fixed.

v0.65.0

Compare Source

Added

  • Added the Builder::default_visibility method and the
    --default-visibility flag to set the default visibility of fields. (#​2338)
  • Added the --formatter CLI flag with the values none, rustfmt and
    prettyplease to select which tool will be used to format the bindings. The
    default value is rustfmt. (#​2453)
  • Added the Builder::formatter method and the Formatter type to select
    which tool will be used to format the bindings. (#​2453)
  • Added the Builder::emit_diagnostics method and the --emit-diagnostics
    flag to enable emission of diagnostic messages under the experimental
    feature. (#​2436)
  • Added support for the "efiapi" calling convention (#​2490).
  • Added the ParseCallbacks::read_env_var method which runs everytime
    bindgen reads and environment variable. (#​2400)
  • Added the ParseCallbacks::generated_link_name_override method which allow
    overriding the link name of items. (#​2425)
  • Add support for C enums when generating code while using the
    --wrap-static-fns feature. (#​2415)

Changed

  • Static functions with no arguments use void as their single argument
    instead of having no arguments when the --wrap-static-fns flag is used.
    (#​2443)
  • The source file generated when the --wrap-static-fns flag is enabled now
    contains #include directives with all the input headers and all the source
    code added with the header_contents method. (#​2447)
  • The source file generated when the --wrap-static-fns flag no longer uses
    asm labeling and the link name of static wrapper functions is allowed to
    be mangled. (#​2448)
  • The documentation of the generated type aliases now matches the comments
    of their typedef counterparts instead of using the comments of the aliased
    types. (#​2463)
  • The Builder::rustfmt_bindings methods and the --no-rustfmt-bindings flag
    are now deprecated in favor of the formatter API. (#​2453)

Removed

  • The following deprecated flags were removed: --use-msvc-mangling,
    --rustfmt-bindings and --size_t-is-usize. (#​2408)
  • The Bindings::emit_warnings and Bindings::warnings methods were removed
    in favor of --emit-diagnostics. (#​2436)
  • Bindgen no longer generates C string constants that cannot be represented as
    byte slices. (#​2487)

v0.64.0

Compare Source

Added

  • Added a new set of flags --with-derive-custom,
    --with-derive-custom-struct, --with-derive-custom-enum and
    --with-derive-custom-enum to add custom derives from the CLI.
  • Added the --experimental flag on bindgen-cli and the experimental
    feature on bindgen to gate experimental features whose implementation is
    incomplete or are prone to change in a non-backwards compatible manner.
  • Added a new set of flags and their equivalent builder methods
    --wrap-static-fns, --wrap-static-fns-suffix and --wrap-static-fns-path
    to generate C function wrappers for static or static inline functions.
    This feature is experimental.

Changed

  • Fixed name collisions when having a C enum and a typedef with the same
    name.
  • The ParseCallbacks::generated_name_override method now receives ItemInfo<'_> as
    argument instead of a &str.
  • Updated the clang-sys crate version to 1.4.0 to support clang 15.
  • The return type is now omitted in signatures of functions returning void.
  • Updated the clap dependency for bindgen-cli to 4.
  • Rewrote the bindgen-cli argument parser which could introduce unexpected
    behavior changes.
  • The ParseCallbacks::add_derives method now receives DeriveInfo<'_> as
    argument instead of a &str. This type also includes the kind of target type.
rust-lang/libc (libc)

v0.2.174

Compare Source

Added
  • Linux: Make pidfd_info fields pub (#​4487)
Fixed
  • Gnu x32: Add missing timespec.tv_nsec (#​4497)
  • NuttX: Use nlink_t type for st_nlink in struct stat definition (#​4483)
Other
  • Allow new unpredictable_function_pointer_comparisons lints (#​4489)
  • OpenBSD: Fix some clippy warnings to use pointer::cast. (#​4490)
  • Remove unessecary semicolons from definitions of CMSG_NXTHDR. (#​4492)

v0.2.173

Compare Source

Added
  • AIX: Add an AIX triple to Cargo.toml for doc (#​4475)
  • FreeBSD: Add the SO_SPLICE socket option support for FreeBSD >= 14.2 (#​4451)
  • Linux GNU: Prepare for supporting _TIME_BITS=64 (#​4433)
  • Linux: Add constant PACKET_IGNORE_OUTGOING (#​4319)
  • Linux: Add constants and types for nsfs ioctls (#​4436)
  • Linux: Add constants for Memory-Deny-Write-Execute prctls (#​4400)
  • Linux: Add constants from linux/cn_proc.h and linux/connector.h (#​4434)
  • Linux: Add new flags for pwritev2 and preadv2 (#​4452)
  • Linux: Add pid_type enum values (#​4403)
  • Linux: Update pidfd constants and types (Linux 6.9-6.15) (#​4402)
  • Loongarch64 musl: Define the MADV_SOFT_OFFLINE constant (#​4448)
  • Musl: Add new fields since 1.2.0/1.2.2 to struct tcp_info (#​4443)
  • Musl: Prepare for supporting v1.2.3 (#​4443)
  • NuttX: Add arc4random and arc4random_buf (#​4464)
  • RISC-V Musl: Add MADV_SOFT_OFFLINE definition (#​4447)
  • Redox: Define SCM_RIGHTS (#​4440)
  • VxWorks: Add missing UTIME defines and TASK_RENAME_LENGTH (#​4407)
  • Windows: Add more time.h functions (#​4427)
Changed
  • Redox: Update SA_ constants. (#​4426)
  • Redox: make CMSG_ALIGN, CMSG_LEN, and CMSG_SPACE const functions (#​4441)
Fixed
  • AIX: Enable libc-test and fix definitions/declarations. (#​4450)
  • Emscripten: Fix querying emcc on windows (use emcc.bat) (#​4248)
  • Hurd: Fix build from missing fpos_t (#​4472)
  • Loongarch64 Musl: Fix the struct ipc_perm bindings (#​4384)
  • Musl: Fix the O_LARGEFILE constant value. (#​4443)

v0.2.172

Compare Source

Added
  • Android: Add getauxval for 32-bit targets (#​4338)
  • Android: Add if_tun.h ioctls (#​4379)
  • Android: Define SO_BINDTOIFINDEX (#​4391)
  • Cygwin: Add posix_spawn_file_actions_add[f]chdir[_np] (#​4387)
  • Cygwin: Add new socket options (#​4350)
  • Cygwin: Add statfs & fcntl (#​4321)
  • FreeBSD: Add filedesc and fdescenttbl (#​4327)
  • Glibc: Add unstable support for _FILE_OFFSET_BITS=64 (#​4345)
  • Hermit: Add AF_UNSPEC (#​4344)
  • Hermit: Add AF_VSOCK (#​4344)
  • Illumos, NetBSD: Add timerfd APIs (#​4333)
  • Linux: Add _IO, _IOW, _IOR, _IOWR to the exported API (#​4325)
  • Linux: Add tcp_info to uClibc bindings (#​4347)
  • Linux: Add further BPF program flags (#​4356)
  • Linux: Add missing INPUT_PROP_XXX flags from input-event-codes.h (#​4326)
  • Linux: Add missing TLS bindings (#​4296)
  • Linux: Add more constants from seccomp.h (#​4330)
  • Linux: Add more glibc ptrace_sud_config and related PTRACE_*ET_SYSCALL_USER_DISPATCH_CONFIG. (#​4386)
  • Linux: Add new netlink flags (#​4288)
  • Linux: Define ioctl codes on more architectures (#​4382)
  • Linux: Add missing pthread_attr_setstack (#​4349)
  • Musl: Add missing utmpx API (#​4332)
  • Musl: Enable getrandom on all platforms (#​4346)
  • NuttX: Add more signal constants (#​4353)
  • QNX: Add QNX 7.1-iosock and 8.0 to list of additional cfgs (#​4169)
  • QNX: Add support for alternative Neutrino network stack io-sock (#​4169)
  • Redox: Add more sys/socket.h and sys/uio.h definitions (#​4388)
  • Solaris: Temporarily define O_DIRECT and SIGINFO (#​4348)
  • Solarish: Add secure_getenv (#​4342)
  • VxWorks: Add missing d_type member to dirent (#​4352)
  • VxWorks: Add missing signal-related constsants (#​4352)
  • VxWorks: Add more error codes (#​4337)
Deprecated
  • FreeBSD: Deprecate TCP_PCAP_OUT and TCP_PCAP_IN (#​4381)
Fixed
  • Cygwin: Fix member types of statfs (#​4324)
  • Cygwin: Fix tests (#​4357)
  • Hermit: Make AF_INET = 3 (#​4344)
  • Musl: Fix the syscall table on RISC-V-32 (#​4335)
  • Musl: Fix the value of SA_ONSTACK on RISC-V-32 (#​4335)
  • VxWorks: Fix a typo in the waitpid parameter name (#​4334)
Removed
  • Musl: Remove O_FSYNC on RISC-V-32 (use O_SYNC instead) (#​4335)
  • Musl: Remove RTLD_DEEPBIND on RISC-V-32 (#​4335)
Other
  • CI: Add matrix env variables to the environment (#​4345)
  • CI: Always deny warnings (#​4363)
  • CI: Always upload successfully created artifacts (#​4345)
  • CI: Install musl from source for loongarch64 (#​4320)
  • CI: Revert "Also skip MFD_EXEC and MFD_NOEXEC_SEAL on sparc64" (#)
  • CI: Use $PWD instead of $(pwd) in run-docker (#​4345)
  • Solarish: Restrict openpty and forkpty polyfills to Illumos, replace Solaris implementation with bindings (#​4329)
  • Testing: Ensure the makedev test does not emit unused errors (#​4363)

v0.2.171

Compare Source

Added
  • Android: Add if_nameindex/if_freenameindex support (#​4247)
  • Apple: Add missing proc types and constants (#​4310)
  • BSD: Add devname (#​4285)
  • Cygwin: Add PTY and group API (#​4309)
  • Cygwin: Add support (#​4279)
  • FreeBSD: Make spawn.h interfaces available on all FreeBSD-like systems (#​4294)
  • Linux: Add AF_XDP structs for all Linux environments (#​4163)
  • Linux: Add SysV semaphore constants (#​4286)
  • Linux: Add F_SEAL_EXEC (#​4316)
  • Linux: Add SO_PREFER_BUSY_POLL and SO_BUSY_POLL_BUDGET (#​3917)
  • Linux: Add devmem structs (#​4299)
  • Linux: Add socket constants up to SO_DEVMEM_DONTNEED (#​4299)
  • NetBSD, OpenBSD, DragonflyBSD: Add closefrom (#​4290)
  • NuttX: Add pw_passwd field to passwd (#​4222)
  • Solarish: define IP_BOUND_IF and IPV6_BOUND_IF (#​4287)
  • Wali: Add bindings for wasm32-wali-linux-musl target (#​4244)
Changed
  • AIX: Use sa_sigaction instead of a union (#​4250)
  • Make msqid_ds.__msg_cbytes public (#​4301)
  • Unix: Make all major, minor, makedev into const fn (#​4208)
Deprecated
  • Linux: Deprecate obsolete packet filter interfaces (#​4267)
Fixed
  • Cygwin: Fix strerror_r (#​4308)
  • Cygwin: Fix usage of f! (#​4308)
  • Hermit: Make stat::st_size signed (#​4298)
  • Linux: Correct values for SI_TIMER, SI_MESGQ, SI_ASYNCIO (#​4292)
  • NuttX: Update tm_zone and d_name fields to use c_char type (#​4222)
  • Xous: Include the prelude to define c_int (#​4304)
Other
Removed
  • NuttX: Remove pthread_set_name_np (#​4251)

v0.2.170

Compare Source

Added
  • Android: Declare setdomainname and getdomainname #​4212
  • FreeBSD: Add evdev structures #​3756
  • FreeBSD: Add the new st_filerev field to stat32 (#​4254)
  • Linux: Add SI_*`` and TRAP_*`` signal codes #​4225
  • Linux: Add experimental configuration to enable 64-bit time in kernel APIs, set by RUST_LIBC_UNSTABLE_LINUX_TIME_BITS64. #​4148
  • Linux: Add recent socket timestamping flags #​4273
  • Linux: Added new CANFD_FDF flag for the flags field of canfd_frame #​4223
  • Musl: add CLONE_NEWTIME #​4226
  • Solarish: add the posix_spawn family of functions #​4259
Deprecated
  • Linux: deprecate kernel modules syscalls #​4228
Changed
  • Emscripten: Assume version is at least 3.1.42 #​4243
Fixed
  • BSD: Correct the definition of WEXITSTATUS #​4213
  • Hurd: Fix CMSG_DATA on 64bit systems (#​4240)
  • NetBSD: fix getmntinfo (#​4265
  • VxWorks: Fix the size of time_t #​426
Other
  • Add labels to FIXMEs #​4230, #​4229, #​4237
  • CI: Bump FreeBSD CI to 13.4 and 14.2 #​4260
  • Copy definitions from core::ffi and centralize them #​4256
  • Define c_char at top-level and remove per-target c_char definitions #​4202
  • Port style.rs to syn and add tests for the style checker #​4220

v0.2.169

Compare Source

Added
  • FreeBSD: add more socket TCP stack constants #​4193
  • Fuchsia: add a sockaddr_vm definition #​4194
Fixed

Breaking: rust-lang/rust#132975 corrected the signedness of core::ffi::c_char on various Tier 2 and Tier 3 platforms (mostly Arm and RISC-V) to match Clang. This release contains the corresponding changes to libc, including the following specific pull requests:

  • ESP-IDF: Replace arch-conditional c_char with a reexport #​4195
  • Fix c_char on various targets #​4199
  • Mirror c_char configuration from rust-lang/rust #​4198
Cleanup
  • Do not re-export c_void in target-specific code #​4200

v0.2.168

Compare Source

Added
Deprecated
  • FreeBSD: Deprecate the CAP_UNUSED* and CAP_ALL* constants (#​4183)
Fixed
  • Make the Debug implementation for unions opaque (#​4176)
Other
  • Allow the unpredictable_function_pointer_comparisons lint where needed #​4177
  • CI: Upload artifacts created by libc-test #​4180
  • CI: Use workflow commands to group output by target #​4179
  • CI: add caching #​4183

v0.2.167

Compare Source

Added
  • Solarish: add st_fstype to stat #​4145
  • Trusty: Add intptr_t and uintptr_t (#​4161)
Fixed
  • Fix the build with rustc-dep-of-std #​4158
  • Wasi: Add back unsafe block for clockid_t static variables (#​4157)
Cleanup
Other
  • CI: Check various FreeBSD versions (#​4159)
  • CI: add a timeout for all jobs #​4164
  • CI: verify MSRV for wasm32-wasi #​4157
  • Migrate to the 2021 edition #​4132
Removed
  • Remove one unused import after the edition 2021 bump

v0.2.166

Compare Source

Fixed

This release resolves two cases of unintentional breakage from the previous release:

  • Revert removal of array size hacks #​4150
  • Ensure const extern functions are always enabled #​4151

v0.2.165

Compare Source

Added
  • Android: add mkostemp, mkostemps #​3601
  • Android: add a few API 30 calls #​3604
  • Android: add missing syscall constants #​3558
  • Apple: add in6_ifreq #​3617
  • Apple: add missing sysctl net types #​4022 (before release: remove if_family_id (#​4137))
  • Freebsd: add kcmp call support #​3746
  • Hurd: add MAP_32BIT and MAP_EXCL #​4127
  • Hurd: add domainname field to utsname (#​4089)
  • Linux GNU: add f_flags to struct statfs for arm, mips, powerpc and x86 #​3663
  • Linux GNU: add malloc_stats #​3596
  • Linux: add ELF relocation-related structs #​3583
  • Linux: add ptp_* structs #​4113
  • Linux: add ptp_clock_caps #​4128
  • Linux: add ptp_pin_function and most PTP_ constants #​4114
  • Linux: add missing AF_XDP structs & constants #​3956
  • Linux: add missing netfilter consts (#​3734)
  • Linux: add struct and constants for the mount_setattr syscall #​4046
  • Linux: add wireless API #​3441
  • Linux: expose the len8_dlc field of can_frame #​3357
  • Musl: add utmpx API #​3213
  • Musl: add missing syscall constants #​4028
  • NetBSD: add mcontext-related data for RISCV64 #​3468
  • Redox: add new netinet constants #​3586)
  • Solarish: add _POSIX_VDISABLE (#​4103)
  • Tests: Add a test that the const extern fn macro works #​4134
  • Tests: Add test of primitive types against std #​3616
  • Unix: Add htonl, htons, ntohl, ntohs #​3669
  • Unix: add aligned_alloc #​3843
  • Windows: add aligned_realloc #​3592
Fixed
  • breaking Hurd: fix MAP_HASSEMAPHORE name (#​4127)
  • breaking ulibc Mips: fix SA_* mismatched types (#​3211)
  • Aix: fix an enum FFI safety warning #​3644
  • Haiku: fix some typos (#​3664)
  • Tests: fix Elf{32,64}_Relr-related tests #​3647
  • Tests: fix libc-tests for loongarch64-linux-musl
  • Tests: fix some clippy warnings #​3855
  • Tests: fix tests on riscv64gc-unknown-freebsd #​4129
Deprecated
  • Apple: deprecate iconv_open 25e022a
  • Apple: deprecate mach_task_self #​4095
  • Apple: update mach deprecation notices for things that were removed in main #​4097
Cleanup
  • Adjust the f! macro to be more flexible #​4107
  • Aix: remove duplicate constants #​3643
  • CI: make scripts more uniform #​4042
  • Drop the libc_align conditional b5b553d
  • Drop the libc_cfg_target_vendor conditional #​4060
  • Drop the libc_const_size_of conditional 5a43dd2
  • Drop the libc_core_cvoid conditional #​4060
  • Drop the libc_int128 conditional #​4060
  • Drop the libc_non_exhaustive conditional #​4060
  • Drop the libc_packedN conditional #​4060
  • Drop the libc_priv_mod_use conditional 19c5937
  • Drop the libc_union conditional b9e4d80
  • Drop the long_array conditional #​4096
  • Drop the ptr_addr_of conditional #​4065
  • Drop warnings about deprecated cargo features #​4060
  • Eliminate uses of struct_formatter #​4074
  • Fix a few other array size hacks d63be8b
  • Glibc: remove redundant definitions (#​3261)
  • Musl: remove redundant definitions (#​3261)
  • Musl: unify definitions of siginfo_t (#​3261)
  • Musl: unify definitions of statfs and statfs64 (#​3261)
  • Musl: unify definitions of statvfs and statvfs64 (#​3261)
  • Musl: unify statx definitions (#​3978)
  • Remove array size hacks for Rust < 1.47 27ee6fe
  • Remove repetitive words 77de375
  • Use #[derive] for Copy/Clone in s! and friends #​4038
  • Use some tricks to format macro bodies #​4107
Other
  • Apply formatting to macro bodies #​4107
  • Bump libc-test to Rust 2021 Edition #​3905
  • CI: Add a check that semver files don't contain duplicate entries #​4087
  • CI: Add fanotify_event_info_fid to FAM-exempt types #​4038
  • CI: Allow rustfmt to organize imports (#​4136)
  • CI: Always run rustfmt #​4120
  • CI: Change 32-bit Docker images to use EOL repos #​4120
  • CI: Change 64-bit Docker images to ubuntu:24.10 #​4120
  • CI: Disable the check for >1 s! invocation #​4107
  • CI: Ensure build channels get run even if FILTER is unset #​4125
  • CI: Ensure there is a fallback for no_std #​4125
  • CI: Fix cases where unset variables cause errors #​4108
  • CI: Naming adjustments and cleanup #​4124
  • CI: Only invoke rustup if running in CI #​4107
  • CI: Remove the logic to handle old rust versions #​4068
  • CI: Set -u (error on unset) in all script files #​4108
  • CI: add support for loongarch64-unknown-linux-musl #​4092
  • CI: make aarch64-apple-darwin not a nightly-only target #​4068
  • CI: run shellcheck on all scripts #​4042
  • CI: update musl headers to Linux 6.6 #​3921
  • CI: use qemu-sparc64 to run sparc64 tests #​4133
  • Drop the libc_const_extern_fn conditional 674cc1f
  • Drop the libc_underscore_const_names conditional f0febd5
  • Explicitly set the edition to 2015 #​4058
  • Introduce a git-blame-ignore-revs file #​4107
  • Tests: Ignore fields as required on Ubuntu 24.10 #​4120
  • Tests: skip ATF_* constants for OpenBSD #​4088
  • Triagebot: Add an autolabel for CI #​4052

v0.2.164

Compare Source

MSRV

This release increases the MSRV of libc to 1.63.

Other
  • CI: remove tests with rust < 1.63 #​4051
  • MSRV: document the MSRV of the stable channel to be 1.63 #​4040
  • MacOS: move ifconf to s_no_extra_traits #​4051

v0.2.163

Compare Source

Added
  • Aix: add more `dlo

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/all branch 4 times, most recently from ce115b9 to 7306b6f Compare April 25, 2023 03:13
@renovate renovate bot force-pushed the renovate/all branch 3 times, most recently from a4fb62b to a72917d Compare May 11, 2023 00:31
@renovate renovate bot force-pushed the renovate/all branch 3 times, most recently from 7543c9a to d74ab88 Compare May 22, 2023 19:26
@renovate renovate bot force-pushed the renovate/all branch 2 times, most recently from 94a7254 to 2d82425 Compare June 7, 2023 06:00
@renovate renovate bot force-pushed the renovate/all branch 2 times, most recently from f0c73d0 to ddb329b Compare June 22, 2023 14:37
@renovate renovate bot force-pushed the renovate/all branch 3 times, most recently from de8047d to 31d864e Compare July 14, 2023 11:43
@renovate renovate bot force-pushed the renovate/all branch 3 times, most recently from 81f0ab4 to 6295901 Compare July 29, 2023 02:04
@renovate renovate bot force-pushed the renovate/all branch 2 times, most recently from f3ba3d8 to ec7903a Compare August 8, 2023 05:14
@renovate renovate bot force-pushed the renovate/all branch 2 times, most recently from 0031369 to 2c1bf0b Compare August 12, 2023 08:19
@renovate renovate bot force-pushed the renovate/all branch 2 times, most recently from 960912f to 08eeb2c Compare September 7, 2023 05:29
@renovate renovate bot force-pushed the renovate/all branch 3 times, most recently from dbd8ea2 to c08bf51 Compare December 7, 2024 02:43
@renovate renovate bot force-pushed the renovate/all branch 2 times, most recently from ffada6b to 43e3a79 Compare December 16, 2024 04:23
@renovate renovate bot force-pushed the renovate/all branch 2 times, most recently from e06edff to 44dd936 Compare December 23, 2024 23:58
@renovate renovate bot force-pushed the renovate/all branch 2 times, most recently from 97b5561 to 7d3e4c2 Compare January 6, 2025 23:41
@renovate renovate bot force-pushed the renovate/all branch 2 times, most recently from 9262952 to 0d16129 Compare February 11, 2025 23:57
@renovate renovate bot force-pushed the renovate/all branch 2 times, most recently from 5693664 to 89a940e Compare February 20, 2025 20:03
@renovate renovate bot force-pushed the renovate/all branch 2 times, most recently from f2939d3 to 27c77f2 Compare March 1, 2025 07:44
@renovate renovate bot force-pushed the renovate/all branch 2 times, most recently from d5bca39 to 822e1db Compare March 6, 2025 07:50
@renovate renovate bot force-pushed the renovate/all branch 2 times, most recently from 25148f1 to a7bbe43 Compare March 19, 2025 08:12
@renovate renovate bot force-pushed the renovate/all branch from de520e8 to 4317ffc Compare May 10, 2025 00:11
@renovate renovate bot force-pushed the renovate/all branch from 4317ffc to d76933f Compare May 31, 2025 04:15
@renovate renovate bot force-pushed the renovate/all branch 2 times, most recently from 60111ed to 353163b Compare June 13, 2025 00:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants